How to create a damage indicator and/or health bar

Please help me

There is an infinite loop as well

You want a healthbar? extrez made an example for this sorta thing

What about like how much damage was done