There are multiple ways of creating a UI Health bar, another is to use the fill value of the image itself which is easier. This method was just showing a way to use masks and scrollbars together. Adding the scrollbar directly to the image can work as well.