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

Why isn't this teleporting me to the spawn.?

Asked by 6 years ago

My code is in this link-- https://pastebin.com/index/imSBHqBF

Every time I click the button it does nothing, is there anything wrong?

1 answer

Log in to vote
0
Answered by 6 years ago

You should try Vector3 instead of CFrame, if I were you I would do this:

Player.Character:MoveTo(Vector3.new(target.Position))

And no, the MoveTo won't make the Player WALK to the Position, it will actually teleport.

Ad

Answer this question