Use the slider to control the percentage of the bar. The blocks inside are pretty self-explanatory.
All code by @NuclearPhysics0. Hello! It's been a while! I've decided to make a simple health bar engine, or whatever other bars you may need, such as ammo, or reload time, or like just time or powerup level. I have no idea what you may use it for, but just make sure to credit me, @NuclearPhysics0.