17.09.2011, 21:39
You would probably have to put that under a timer or a callback that sets your health lower. All that does is applies a animation, not kills the player. Also, if you are copy and pasting out of other scripts, don't do that, it ends up screwing up your code.