So my game is an adventure and you are the main character so you go to the store across the street and theres this guy who poisons you and when he evil laughs how do I make you teleport to another brick or spot in the game?
✓ ANSWER ACCEPTED
How do I make a dialog that Teleports you to another brick?
1 answer
✓ Accepted answer
You can teleport a player by adjusting the CFrame (Coordinate Frame) of their Player's Torso.
Lets say you have a brick in a LocalScript called brickthat you want to move the player to:
brick = workspace.Destination
player = game.Players.LocalPlayer
character = player.Character
torso = character.Torso
torso.CFrame = CFrame.new(brick.Position)
Hope that helps!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you!