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

How can I teleport players to a specific area in my place?

Asked by 10 years ago

Hi,** I'm kinda new to scripting,** so sorry if I seem "noobish". How can I teleport players to a specific place?

Like, I dunno...

if (something) true then (teleport script)

Okay, thanks. I'm also new to this site, so, yeah.

1 answer

Log in to vote
Answered by
User#2 0
10 years ago

There are a few ways to teleport a player to another spot in-game.

One of the easiest to use is the MoveTo method on a player's character. It accepts a Vector3 value, which is where the player will be teleported/moved to.

Character:MoveTo(, y, z))

The other way is to set a player's torso's CFrame property. It, semi-obviously, takes a CFrame value.

Character.Torso.CFrame =, y, z)
Thank you! :D OfficialAndrew 45 — 10y

Answer this question