I have no idea what to do to make this happen, please help!
✓ ANSWER ACCEPTED
How do I make a textbutton teleport a player to a part?
1 answer
✓ Accepted answer
First off I'd like to say this is not a request site, but since I'm feeling generous, I'll help you out!!! To teleport a Player, which is a model, you need to use a :MoveTo() function. Usings a simple Character.Position will result in an error! Obviously you need the gui created so just make a ScreenGui in starter gui, add a frame and a textbutton inside!
button = script.Parent--The TextButton!
plr = game.Players.LocalPlayer--the current player who is clicking the TextButton!
prt = game.Workspace.Part--change this directory to the part you want to be teleported to!
--the code!--
button.MouseButton1Click:connect(function()--Fires when a player clicks the button!
plr.Character:MoveTo(prt.Position)--This sets the Position of the model to the part you want teleported to!
end)
It's quite simple!! Make sure that you change the directory of "prt" to the part that you want!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Teleport to what, another player?
To a part.