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

How to animate player with CFrame?

Asked by
I_0KI 40
6 years ago

In a script I'm making, I need to be able to animate the player's character with CFrame value changing, but I'm not exactly sure how I would do this. I have experimented with CFrame variable changing in the past, which resulted in either: Rotating the whole character (example: Trying to move the left arm backward would make the character flip onto its head.), causing the limb I'm trying to animate fall off entirely, or killing the character. How can I put the character into an animatable state so the limbs do not fall off and they just rotate?

1 answer

Log in to vote
0
Answered by 6 years ago

You would either have to reweld/motor the limbs, by setting the original motor's part1 to nil and then creating a new motor. You could also consider making fake limbs and set the originals transparencys to 1. Then weld or motor them to the character

Ad

Answer this question