guiService.MenuClosed:Connect(function()menuOpen=false if not IconController.controllerModeEnabled then IconController.setTopbarEnabled(IconController.topbarEnabled,false)end end)guiService.MenuOpened:Connect(function()menuOpen=true IconController.setTopbarEnabled(false,false)end)bindCamera()return IconController

guiService.MenuClosed:Connect(function()
	menuOpen = false
	if not IconController.controllerModeEnabled then
		IconController.setTopbarEnabled(IconController.topbarEnabled,false)
	end
end)
guiService.MenuOpened:Connect(function()
	menuOpen = true
	IconController.setTopbarEnabled(false,false)
end)

bindCamera()


return IconController
