I want to make a teleporting GUI that teleports me from a certain place to another (in-game) but I don't know how please tell me.
COMMUNITY QUESTION
How do I make a teleporting GUI? [ANSWERD]
3 answers
Create a button that teleports you and then use a script that teleports the player when they click the button like this:
player = script.Parent.Parent.Parent.Parent -- this is an example, you will have to define the player.
button = script.Parent
newplace = CFrame.new(0, 0, 0) -- where to teleport the,.
function Clicked()
if player.Character then
player.Character.Torso.Anchored = true
wait()
player.Character.Torso.CFrame = newplace
wait()
player.Character.Torso.Anchored = false
end
end
button.MouseButton1Click:connect(Clicked)
Can you please be more specific I don't know how to make a button and lime please help me I want it to a like I'm on brick1 I want to go to brick2 with GUI so please help me.
Like jav said, you need to have a basic understanding before you come here to ask your question. He gave you a correct and clear answer, if you don't understand it you should check out the wiki or some GUI tutorials.
2 comments
0
Can you link me the place?
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
This isn't a request website... You have you have a basic idea of what you're doing and I can fix a problem your having. I just gave you a script that will teleport a player to a location using a button and thats what you said you were trying to do.
Ok thank you I get the Cframe but what do you mean the script.parent.parent.parent.parent?
That is the Player. The gui is in the Player's PlayerGui so use the appropriate path depending on where the button is.