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

how would I teleport a player with a proximity prompt?

Asked by 1 year ago

how would I teleport a player to a specific location using a proximity prompt. I've tried a couple of things but none of them have worked.

Any help is much appreciated.

1 answer

Log in to vote
1
Answered by
NykoVania 231 Moderation Voter
1 year ago

Put this script in your proximity prompt. Change 0,0,0 to your position.

SCRIPT:

script.Parent.Triggered:Connect(function(player)
    player.Character:MoveTo(Vector3.new(0,0,0))
end)
Ad

Answer this question