This is a healthbar that could be used in scratch brawlers. To remove the optional delay, go into the healthbar and replace the go to front layer blocks with go to back layer blocks. If you want to add this, replace the (go to (sprite1)) with (go to (whatever sprite)) and adjust the (change y by (30)) to (change y by (whatever fits best)), then replace the health variable in the healthbar with your health variable (not the full health)
This isn’t originally mine, but I made a couple changes so it can move with the character and go into walls