Re: function CollectDamage()
Don't know this function, but you can easily find the total loss of health in a frame (or whatever you need) by having a variable set to the health in the end of the script and then compare that and the new health in the start of the script.