Remove "IF C==0 THEN..." and "C=(C+1)MOD 60". And when you want to change the health, substitute any value for NHP (not HP) in the loop. HP (displayed health amount and length of the bar) will follow NHP in the loop.