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?
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 brick
that 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!