Animation rotating player when firing?

Currently, I have a punching animation. This is my code to make it run:

local Animation ="Animation")
Animation.AnimationId = "rbxassetid://3055379020"
Track = Character:WaitForChild("Humanoid"):LoadAnimation(Animation)
Track.Looped = false

The animation seems to rotate the player left and proceed with the punching. Is this a programming related issue, or something wrong with the animation?

1 Like

If that is all of the code you used to play the animation, then it would be the animation, try to import the animation ID into the editor and make sure the rig is pointing forward instead of backwards.


I imported the animation from Mixamo, and we can’t get it too rotate in the direction the player walks.

I would say it’s the animation. Make a rig and use the animation editor to preview the animation.

If the animation start position is rotated, the animation will rotate the character.

Mixamo has the option to “mirror” the animation in case its animated the wrong way. try redownloading the animation with the Mirror box checked (or unchecked in case it was checked)