:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt
:state=1,plrusingaction=1:state=1,plraddhealth=20,plrsound=audiobank\items\healthup.wav
:state=1,plrusingaction=0:state=0
;End of Script
I can't see you moving into state1, try this:
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt,state=1
:state=1,plrusingaction=1:state=1,plraddhealth=20,plrsound=audiobank\items\healthup.wav
:state=1,plrusingaction=0:state=0