Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a player teleport? (not teleport service)

I would like to know how to make a player instantly go from one location to another from scripting.

2 comments

0

You could use CFrame. For example: game.Workspace.Player.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0, 50, 0))

0

Thank you

1 answer

✓ Accepted answer

Set the HumanoidRootPart position to where you want it to be. Example:

local TeleportPad = game.Workspace.TeleportPad

game.Workspace.PlayerName.HumanoidRootPart.Position = TeleportPad.Position

This discussion is preserved as it was. New answers, comments, and votes are closed.