Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I move a player to a brick?

Asked by 9 years ago

Like if I have a brick named "Tele" how do I move the player to the brick?

2 answers

Log in to vote
0
Answered by
KAAK82 16
9 years ago

use the MoveTo() Method

char = Character directory
Tele = ur Brick Directory here

function Teleport()
    char:MoveTo(Tele.Position)
end

call the function in any way u like...
0
I cant Comment on Perci's Post for some Reason, so I'll say it here... don't change the Torso's Position! do the Character not the Torso! the Torso is the Connect Part for all the Body Parts of ur Character! KAAK82 16 — 9y
Ad
Log in to vote
0
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
9 years ago

Change the CFrame of the character's torso. This will teleport the character.

game.Workspace.PlayerName.Torso.CFrame = CFrame.new(game.Workspace.Tele.Position) --Moves a player to the position of your choice.

If you want to know how to connect to to events, just ask!

Answer this question