green flag feel free to use this method without credit!
simple monster hp display it uses pen sorry if you needed a clone version the way it works is that: 1.) it draws the max hp first (which is easy to do because it just repeats by length 2.) draws the hp by dividing the health by the maxhp and then multiplying it by the length i initially thought it was going to be difficult to do but the math was actually really easy! the way i figured it out was by thinking about percentage math and then it kinda snapped i guess