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

How do you make a GUI disappear when clicked?

Asked by 10 years ago

I have made a Screen GUI with a Local script that teleports you when clicked.

 function Click()
 script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-10.4, 10.488, -71)
 end

 script.Parent.MouseButton1Down:connect(Click)

Answer this question