Well i'll post the script but this is not for general use. People can not take it and claim it as their own (even though its not particularly hard to make).
;Artificial Intelligence Script By Arenas
;Header
desc = Ability Huds
;Triggers
;hudunshow=Hide Hud
;hudshow=Show Hud
:state=0:dimvar=activepower,setvar=activepower 6
:ALWAYS,scancodekeypressed=2:setvar=activepower 1
:ALWAYS,scancodekeypressed=3:setvar=activepower 2
:ALWAYS,scancodekeypressed=4:setvar=activepower 3
:ALWAYS,scancodekeypressed=5:setvar=activepower 4
:ALWAYS,scancodekeypressed=6:setvar=activepower 5
:ALWAYS,scancodekeypressed=7:setvar=activepower 6
;Load all active huds
:state=0:hudreset,hudx=5,hudy=5,hudimage=gamecore\huds\Health and Ammo\Abilities\resistor_active.png,hudname=resistor_active,hudhide=1,hudmake=display,hudshow=layout
:state=0:hudreset,hudx=5,hudy=15,hudimage=gamecore\huds\Health and Ammo\Abilities\defender_active.png,hudname=defender_active,hudhide=1,hudmake=display,hudshow=layout
:state=0:hudreset,hudx=5,hudy=25,hudimage=gamecore\huds\Health and Ammo\Abilities\speeder_active.png,hudname=speeder_active,hudhide=1,hudmake=display,hudshow=layout
:state=0:hudreset,hudx=5,hudy=35,hudimage=gamecore\huds\Health and Ammo\Abilities\juggernaught_active.png,hudname=juggernaught_active,hudhide=1,hudmake=display,hudshow=layout
:state=0:hudreset,hudx=5,hudy=45,hudimage=gamecore\huds\Health and Ammo\Abilities\operative_active.png,hudname=operative_active,hudhide=1,hudmake=display,hudshow=layout
:state=0:hudreset,hudx=5,hudy=55,hudimage=gamecore\huds\Health and Ammo\Abilities\basic_active.png,hudname=basic_active,hudhide=1,hudmake=display,hudshow=layout
;Load all inactive huds
:state=0:hudreset,hudx=5,hudy=5,hudimage=gamecore\huds\Health and Ammo\Abilities\resistor_inactive.png,hudname=resistor_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=resistor_inactive
:state=0:hudreset,hudx=5,hudy=15,hudimage=gamecore\huds\Health and Ammo\Abilities\defender_inactive.png,hudname=defender_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=defender_inactive
:state=0:hudreset,hudx=5,hudy=25,hudimage=gamecore\huds\Health and Ammo\Abilities\speeder_inactive.png,hudname=speeder_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=speeder_inactive
:state=0:hudreset,hudx=5,hudy=35,hudimage=gamecore\huds\Health and Ammo\Abilities\juggernaught_inactive.png,hudname=juggernaught_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=juggernaught_inactive
:state=0:hudreset,hudx=5,hudy=45,hudimage=gamecore\huds\Health and Ammo\Abilities\operative_inactive.png,hudname=operative_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=operative_inactive
:state=0:hudreset,hudx=5,hudy=55,hudimage=gamecore\huds\Health and Ammo\Abilities\basic_inactive.png,hudname=basic_inactive,hudhide=1,hudmake=display,hudshow=layout,hudshow=basic_inactive,state=1
:state=1,varequal=activepower 1:plrspeed=70,newjumpheight=50,ambiencegreen=0,ambienceblue=0,ambiencered=0,ambience=0,state=2
:state=1,varequal=activepower 2:plrspeed=70,newjumpheight=40,ambiencegreen=0,ambienceblue=0,ambiencered=0,ambience=0,state=3
:state=1,varequal=activepower 3:plrspeed=130,newjumpheight=40,ambiencegreen=0,ambienceblue=0,ambiencered=0,ambience=0,state=4
:state=1,varequal=activepower 4:plrspeed=100,newjumpheight=100,ambiencegreen=0,ambienceblue=0,ambiencered=0,ambience=0,state=5
:state=1,varequal=activepower 5:plrspeed=100,newjumpheight=40,ambiencegreen=255,ambienceblue=0,ambiencered=0,ambience=3,state=6
:state=1,varequal=activepower 6:plrspeed=100,newjumpheight=50,ambiencegreen=0,ambienceblue=0,ambiencered=0,ambience=0,state=7
:state=2:hudunshow=resistor_inactive,hudshow=resistor_active
:state=2,varequal=activepower 2:hudunshow=resistor_active,hudshow=resistor_inactive,state=1
:state=2,varequal=activepower 3:hudunshow=resistor_active,hudshow=resistor_inactive,state=1
:state=2,varequal=activepower 4:hudunshow=resistor_active,hudshow=resistor_inactive,state=1
:state=2,varequal=activepower 5:hudunshow=resistor_active,hudshow=resistor_inactive,state=1
:state=2,varequal=activepower 6:hudunshow=resistor_active,hudshow=resistor_inactive,state=1
:state=3:hudunshow=defender_inactive,hudshow=defender_active
:state=3,varequal=activepower 1:hudunshow=defender_active,hudshow=defender_inactive,state=1
:state=3,varequal=activepower 3:hudunshow=defender_active,hudshow=defender_inactive,state=1
:state=3,varequal=activepower 4:hudunshow=defender_active,hudshow=defender_inactive,state=1
:state=3,varequal=activepower 5:hudunshow=defender_active,hudshow=defender_inactive,state=1
:state=3,varequal=activepower 6:hudunshow=defender_active,hudshow=defender_inactive,state=1
:state=4:hudunshow=speeder_inactive,hudshow=speeder_active
:state=4,varequal=activepower 1:hudunshow=speeder_active,hudshow=speeder_inactive,state=1
:state=4,varequal=activepower 2:hudunshow=speeder_active,hudshow=speeder_inactive,state=1
:state=4,varequal=activepower 4:hudunshow=speeder_active,hudshow=speeder_inactive,state=1
:state=4,varequal=activepower 5:hudunshow=speeder_active,hudshow=speeder_inactive,state=1
:state=4,varequal=activepower 6:hudunshow=speeder_active,hudshow=speeder_inactive,state=1
:state=5:hudunshow=juggernaught_inactive,hudshow=juggernaught_active
:state=5,varequal=activepower 1:hudunshow=juggernaught_active,hudshow=juggernaught_inactive,state=1
:state=5,varequal=activepower 2:hudunshow=juggernaught_active,hudshow=juggernaught_inactive,state=1
:state=5,varequal=activepower 3:hudunshow=juggernaught_active,hudshow=juggernaught_inactive,state=1
:state=5,varequal=activepower 5:hudunshow=juggernaught_active,hudshow=juggernaught_inactive,state=1
:state=5,varequal=activepower 6:hudunshow=juggernaught_active,hudshow=juggernaught_inactive,state=1
:state=6:hudunshow=operative_inactive,hudshow=operative_active
:state=6,varequal=activepower 1:hudunshow=operative_active,hudshow=operative_inactive,state=1
:state=6,varequal=activepower 2:hudunshow=operative_active,hudshow=operative_inactive,state=1
:state=6,varequal=activepower 3:hudunshow=operative_active,hudshow=operative_inactive,state=1
:state=6,varequal=activepower 4:hudunshow=operative_active,hudshow=operative_inactive,state=1
:state=6,varequal=activepower 6:hudunshow=operative_active,hudshow=operative_inactive,state=1
:state=7:hudunshow=basic_inactive,hudshow=basic_active
:state=7,varequal=activepower 1:hudunshow=basic_active,hudshow=basic_inactive,state=1
;state=7,varequal=activepower 2:hudunshow=basic_active,hudshow=basic_inactive,state=1
;state=7,varequal=activepower 3:hudunshow=basic_active,hudshow=basic_inactive,state=1
;state=7,varequal=activepower 4:hudunshow=basic_active,hudshow=basic_inactive,state=1
;state=7,varequal=activepower 5:hudunshow=basic_active,hudshow=basic_inactive,state=1
I am re-writing a part of the script to try to improve performance. If you can see any problems please post.