Making a simple heart-based health meter

I finally managed get the heart meter working.

If anyone else is interested in the solution you can find it here [Link] on the fifth post in that particular thread.