I do not think so; however, there is a way to make it smaller, though maybe not faster. Make the maximum number of pixels in the HP bar cleanly divisible by 100, like 50 pixels or 33 pixels. You store the amount of pixels into a variable. Whenever the HP goes down by, let's say, 2% (the maximum amount of pixels would then be 50; if you are doing a different number of maximum pixels, it would be by every (100/number of maximum pixles)% ), a pixel gets erased by PxlOff and the number stored into the variable is decreased by one