How to fix this animation bug?

If this is in wrong category, please let me know!

  1. What do you want to achieve? I want my animation to work same as what it shows in Moon Animator 2.
  2. What is the issue? The issue is, when I play this animation in game or in a script, it doesn’t work as it shows in Moon Animator 2.
  3. What solutions have you tried so far? I tried to search it but couldn’t find anything.

It is my first day in animating so please let me know if I’m doing something wrong or missing!

Video of the issue: Animation issue - YouTube