I want a GUI that is like teleport you to a random location on a map of the script please help out.
COMMUNITY QUESTION
How to script a GUI
2 answers
UWU UWU UWU UWU UWU UWU UWU UWU UWU UWU UWU UWU
Well you could just use this instead, although you'd have to adjust it to make you teleport randomly.
function Click()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(#,#,#)
end
script.Parent.MouseButton1Down:connect(Click)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Well you could just use this instead, although you'd have to adjust it to make you teleport randomly.
function Click() script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(#,#,#) end script.Parent.MouseButton1Down:connect(Click)