FPS - Server isn't playing the death animation when it dies

This is why the server code is called first and then runs the client code.
Or try running the same code on both client and server.
Then where you call “death” run both client and server one after another
and see what that results in. Not all code should be ran on just server or just client.
Sometimes it’s a matter of just testing things to see how they react.
Could be something else interfering somewhere tho.