Assuming that this is just a prototype/concept, I would say there is a problem in the damage calculation. *Apparently*, the damage is being caused by time, when it would be more correct to cause gradual damage. I'm saying this because you can ignore the damage by just spamming the jump.