When adding or subtracting health, use clamp expression.
Set health = clamp(health+1, 0, 100)
Or if health can be greater than max, then use clamp() or min() in the formula where you calculate healthBar width.
set healthBar width to clamp(health, 0, 100)
or
set healthBar width to (healthBar.ImageWidth*min(health,100)/100)