Tool Hold animation not working [R15]

Hello Developers!,
I recently made an MP5 tool that works, except for one thing. The hold animation script. The script works like once, for example if I stop moving, the animation plays. But if I move, the animation stops and plays the walk/run animations.

Im genuinely sure this is related to AnimationPriority.

Happy winter break

Any Help is appreciated,
-OceanTubez

Are you sure the hold animation is prioritized as Idle?

This is not a topic for code review, this would be for scripting support, but the answer is likely animation priority, set it to action.

Should’ve known, sorry. Also animation is a ction

Make sure the animation is looped and set priority to action and show the script if that still doesn’t fix it