Damage script

I went ahead and made a first version of the damage script I mentioned.
Feel free to give feedback