you need to use starforge. simple but it might only work for zerg units.
-------
Steps
-------
1) starforge
2) unit & hero settings
3) click unit you want
4) there are 2 slots for hp make the 1st slot a bigger number than the 2nd slot
if you want the life thingy than its this
players: all players
condtions: always
actions:
-set unit hitpoints to 10
-wait 1 millisecond
-set unit hit points to 20
-wait 1 millisecond
-set unit hit points to 40
-wait 1 millisecond
-set unit hit points to 60
-wait 1 millisecond
-set unit hit points to 80
-wait 1 millisecond
-set unit hit points to 100
-wait 1 millisecond
-set unit hit points to 80
-wait 1 millisecond
-set unit hitpoints to 60
-wait 1 millisecond
-set unit hit points to 40
-wait 1 millisecond
-set unit hit points to 20
-wait 1 millisecond
-set unit hit points to 10
-preserve trigger
there ya go

(Oh and if you want it to work, after the hitpoints thing, add All Players.)