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

How to make player teleport to 5 studs in front of him?

Asked by 6 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

What should I use to do it?

1 answer

Log in to vote
1
Answered by 6 years ago

This is all CFraming my friend, here;

-- Assuming we already have "torso" figured out.

torso.CFrame = torso.CFrame * CFrame.new(0, 0, -5)

I didn't go to in depth in what this script does, but if you have any questions feel free to leave a comment.

Please make sure to upvote / accept if this helped you! :)

Ad

Answer this question