Animations not working properly

I have made an animation for my models in a game, however, they do not work as intended when actually running the animations.


I am using AnimationController for the model, the model is welded with motor6ds, what could be the problem?