Here's with pen:
when green flag clicked clear set x to (0) set pen color to [#43FA00] repeat (1) change x by (100) end set pen color to [#FFFFFF] forever go to x: ([0] + (health)) y: (where you want) if <(movingdir) = [1]> set pen color to [#0FFF2C] else set pen color to [#FFFFFF] endImportant: When you lose health, don't only change health by a number, also set that variable "moving-dir" to 0. When you gain health, set it to 1.
Offline
Take a look at this project which uses pen health bars - (Note that they don't flash even without turbo) - and check the scripts
Offline
Could try this: http://scratch.mit.edu/projects/Prism/1290907
Offline