Hello, whenever I click my GUI to show the menu it works by showing the main menu. When I click the GUI again however, everything vanishes and I am unable to click the GUI again. I am unaware of what is causing such problem, as I am very new to scripting. In fact, this isn't my script. Please be aware.
Thanks, Azure.
local open = false
script.Parent.MouseButton1Click:Connect(function()
if not open then
open = true
script.Parent.Parent.Parent.Frame.Visible = true
script.Parent.Parent.Parent.settings.Visible=false
script.Parent.Parent.Parent.shop.Visible=false
script.Parent.Parent.Parent.help=false
else
script.Parent.Parent.Parent.Frame.Visible = false
script.Parent.Parent.Parent.settings.Visible=false
script.Parent.Parent.Parent.shop.Visible=false
script.Parent.Parent.Parent.help=false
open = false
end
end)
