topBarFrame.Size=UDim2.new(1,0,0,topBarY)topBarFrame.Position=UDim2.new(0,0,0,-topBarY)imageButton.MouseButton1Down:Connect(function()if imageButton.ImageRectOffset==Vector2.new(0,0)then(main:GetModule("\071\085\073\115")):OpenMainFrame()else(main:GetModule("\071\085\073\115")):CloseMainFrame()end end)

topBarFrame.Size = UDim2.new(1,0,0,topBarY)
topBarFrame.Position = UDim2.new(0,0,0,-topBarY)
imageButton.MouseButton1Down:Connect(function()
	if imageButton.ImageRectOffset == Vector2.new(0,0) then
		main:GetModule("GUIs"):OpenMainFrame()
	else
		main:GetModule("GUIs"):CloseMainFrame()
	end
end)
