Best way to animate the player?

I have avoided messing with animations because I vaguely remember it being kind of a mess and subject to sudden change, but now I need to do it. What is the recommended way to animate the player character? I need to be able to do the following sequence:

  1. character is idle, and uses default roblox animations
  2. “Action” triggered, switches to custom animation which can move the limbs and the whole character, including transforming and rotating the HumanoidRootPart.
  3. action ends, remaining animation fades out and animations go back to roblox default.

I’m looking at the script that comes with the character and it only seems to have external support for playing emotes.

1 Like

I believe you’d just do it via animator:LoadAnimation() and then play it. Just ensure the animation that should be playing on top of the stock animations have a higher animation priority than Idle/Movement (set the priority before you export the animation).

Note that only the limbs you move using the animation editor will actually override any animations underneath, if you don’t move them in the animation editor, any animations playing underneath with a lower animation priority will still play.

In your case, as long as your action animation has the relevant priority, you should be good to go.