Lets say you have a textbox which is the health bar, txtHealth. Add Pin to it (assuming, you want the health bar on the enemy)
Foreach enemy (or on enemy create), spawn the txtHealth, Pin to the enemy.
Every tick:
If txtHealth Pinned AND Enemy is overlapping txtHealth set txtHealth.Text = Enemy.Health.
If txtHealth NOT Pinned, Destroy.
Make sure the enemies don't overlap. if they do, use your own var, not UID, it changes if one enemy is removed or added.