Animations inverted when i'm playing (motor6d)

Hello, i’m trying to make a gun system with motor6d animations.
When I added a pistol, the animations works correctly on the animation editor and when I’m playing them, it’s playing inverted.
Animation Editor:


In game:

if someone can help me please.

I’ve had issues with Motor6Ds ‘flipping’ in a vehicle when the player got out of the seat. A friend suggested making sure the attached Parts were close to the same Density.

How is the gun attached to the player? Is it the Motor6D or a Weld?

The gun is attached with a motor6D