Try this.
;AIScript from Wizard
;Header
desc = health
;-----------------------------
;Script Start
;-----------------------------
:always
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB7.dds,hudname=HB7,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB6.dds,hudname=HB6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB5.dds,hudname=HB5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB4.dds,hudname=HB4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB3.dds,hudname=HB3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB2.dds,hudname=HB2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB1.dds,hudname=HB1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ENDGAME\1HB0.dds,hudname=HB0,hudhide=1,hudmake=display
:state=0,plrhealthless=101:hudshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0,state=1
:state=0,plrhealthgreater=99:hudshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0
:state=1,plrhealthless=90:hudshow=HB6,hudunshow=HB7,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0,state=2
:state=2,plrhealthless=80:hudshow=HB5,hudunshow=HB7,hudunshow=HB6,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0,state=3
:state=3,plrhealthless=70:hudshow=HB4,hudunshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0,state=4
:state=4,plrhealthless=50:hudshow=HB3,hudunshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB2,hudunshow=HB1,hudunshow=HB0,state=5
:state=5,plrhealthless=30:hudshow=HB2,hudunshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB1,hudunshow=HB0,state=6
:state=6,plrhealthless=15:hudshow=HB1,hudunshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB0,state=7
:state=7,plrhealthless=5:hudshow=HB0,hudunshow=HB7,hudunshow=HB6,hudunshow=HB5,hudunshow=HB4,hudunshow=HB3,hudunshow=HB2,hudunshow=HB1,state=8
:state=8,plrhealthless=1:state=0
;---------------------------
;Script END
;---------------------------
Edit:
Ok, I thought I was done with the script, but I just went through it again and saw some more problems with it. I have fixed those errors, but I want you to make sure the names of your images are named properly to the script. If not nothing will work. I hope this helps out.
Double Edit!!:
I am so sorry for this. I am cooking right now and writing your script.
I have it done for you. Just assign it to a trigger and enjoy!