This is relatively simple. Use the damage slider to change how much damage is inflicted onto the Health bar. Depending on the state of the Health, the Status changes. ( You can also use the Bar size slider to change how large it is. )
If you decide to use this in a game, please tell me in the comments. I would love to check out how you use this.