health bar problems

i have my health bar set up but i cant figure out how to have my guy get hit by a enemie and health bar goes down and i tested to make sure it worked by using space and it did but no when i run in to a enimie how do i set that up?

Try this:

Yeah, I had the same problem. But my health bar is set up rather wierdly.

Did it help? Do you need fps or rpg healtbar?