Need help with health

I need help with health.

When I was searching the forums I found a health demo game (http://flowlab.io/game/view/9822?v=2) and decided to base my health/damage system off of that. The only problem is that it does not work. What it does is everytime I hit something I set up to do damage it takes the whole heath bar but its only supposed to do 5 damage not 100. Also it only damages me once but I have it set so it should damage me multiple times. Here is my project: https://flowlab.io/game/view/453214

EDIT: Fixed it and do not know how to delete posts soooo.

Any help is welcome,
Thanks.

I tried the idea but it doesn’t damage me multiple times it just damages once.