credit to @TheLogFather for his cool health bar custom block project https://scratch.mit.edu/projects/222454009/
use the sliders to change the values, changing the x and y too fast will bug it because it only erases the area where the health bar is.