09.09.2015, 23:12
You're doing it all wrong. GetPlayerHealth in itself only returns 0 or 1 depending on whether the player is connected. So you will get -2 health which will of course kill the player instantly. Check the documentation on the wiki.

