I originally edited this code to stop people from crashing on someones death. Now this has not been FULLY tested however it has been proven to mitigate this issue very well.
To revive someone your just do /rev ID
Full credits for the base script go to
I asked for his permission, however he has last been seen june 1st, but the script was hosted on github so hopefully he wont mind. This issue is happening now so it is kind of needed to be rushed.
I made it so that the server only lets you drop down a certain amount of health before it shows you as dead. so that it never gets to the part that crashes you.
you can remove the code that requires essentialmode in this, because as it stands the only active parts are the command in the server file and the cl_healthplayer file
everything else is just there because i didnt remove it.
If you are not having the crash on death issue then ignore this thread, however if you are then get this script, but know that it replaces any and all other death script you currently have.
Which lines did you edit to fix the crashing? I used a modified version of this script so it would be more useful to know the fix rather than replace the entire script.