Put some time restriction on /kill. If you got damaged recently then you cannot execute /kill..let's say for 10-15 seconds until the script cools down. There are still many ways players abuse it and i don't think there's any flaw in putting a timer to /kill command.