Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Rotating a player's torso on teleport?

I'm looking for a way to manually rotate a player's torso just once, and I've been looking around for awhile, so I'm wondering if it's possible?

1 comment

0

Just the torso or the entire player?

1 answer

Well, you need to CFrame the Toros, the rest of the body parts and stuff will go with it:

Torso.CFrame=Torso.CFrame*CFrame.Angles(math.deg(), math.deg(), math.deg())

Play around with the numbers. math.deg() will convert any number into a degree of rotation.

1 comment

0

CFrame.Angles() accepts radians. math.deg() converts a radian into degrees. You would use math.rad() to convert degrees into radians.

This discussion is preserved as it was. New answers, comments, and votes are closed.