Character turn When play Animation Montage

Hello!
I’m having a problem with playing an animation montage.
When I play the montage, the character rotates.

화면 캡처 2023-07-26 163017

So, I tried using that method.
Unfortunately, another issue has arisen.
Now, only the gun recoil is playing. The animation is not being triggered.
Is there any solution to this?