Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I incorporate this into my already existing local script?

Asked by 9 years ago

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)

Answer this question