If you really made the HP bar out of the scrollbar, here's a tip: use Image.fillAmount for same thing. I'd add two images: a red and a green, the fillAmount of green would be controlled from the script (i.e Image.fillAmount = Helath/ MaxHealth) and the red one would be just red background