Changing Default Animator idle animation replicates weird to server

so i have a script that when the players below 60% hp they enter their 2nd phase and do all their flashy stuff, works perfectly but it changes the default animator scripts and changes the idle animation, which plays correctly on client but not on server??
https://gyazo.com/86ebeeef2aa7e68f7d0a9951b7c35e8a
you can see in the gyazo video attached, also all of this is handled on server