My Idea is that when people in my game, after people close the GUI both button and GUI disappear forever.
I already have the local script and would like to know where to add the command
1 local frame=script.Parent.Parent.Parent:WaitForChild("Frame") 2 3 script.Parent.MouseButton1Down:connect(function() 4 frame.Visible=not frame.visible 5 end)