Why isn't my animation working properly?

My animation isn’t playing the same way as its supposed to play

here is what it looks like In the Animation editor

but this is what it looks like when I activate it IN game

The character is too close to the camera, the gun is literally floating, the script is also pretty basic, its just Animator:LoadAnimation(MyAnimation) how do I fix this?