Rhindon
Here are couple of different ways to make healthbars.
Hope it's some help to you, includes picking stuff like you did too :)
Develop games in your browser. Powerful, performant & highly capable.
This post was still helpful even today. I was trying to figure out how to use UID to keep track of an object.