How do i stop all animations except one animation

Hey im making a fps game so when my bullets in my script reach 0 i want it to play a reload animation but its a 2 second animation so it doesnt crossfade properly.A friend of mine told me to stop all my animations first and then play that animation but the prob is that all my animations Including reload animation Stop. So i was wondering if theres any syntax in javascript to stop all animations except one animation.
Can u Help me?

I had the same problem. Solution:

Do this on a script

Time.timeScale = 0;

Time will freeze for all animations unless for those game objects whose Animator element has the Update Mode set to Unscaled Time.

To unfreeze everything do:

Time.timeScale = 1;

You can do slow/fast motion to all normal animations trying other numbers than 0 or 1 if you put an “f” behind them (example “0.5f”).