local H=false local e={}function e.ManipUI(e)H=not H MainFrame.Visible=H end function e.Setup(d,H,e)Button=H MainFrame=e.MainMenu Button.MainToggle.MouseButton1Down:Connect(function()d:ManipUI()end)end return e
--Var
local isOpen = false

local MainMenuOpen = {}

function MainMenuOpen:ManipUI()
	isOpen = not isOpen
	MainFrame.Visible = isOpen
end

function MainMenuOpen:Setup(UI, Main)
	Button = UI
	MainFrame = Main.MainMenu

	Button.MainToggle.MouseButton1Down:Connect(function()
		self:ManipUI()
	end)
end

return MainMenuOpen
