you would probly need to udjust it so it looks like this, hold on ill try it then edit my post and put it here
ok heres the edit
;scripted by me useless
;Header
desc = Key Door (Open 'With Key' dont close)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextlockeddoor.tga,hudname=keydoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=keydoorprompt,hudfadeout=keydoorprompt
:state=10,plrdistwithin=60,plrhaskey=1,plrusingaction=1:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistfurther=60:state=3,sound=$1,colon
;End of Script
tird of the same boring games, well then buy a cocon game and elemanate your bordem