This should work. (I think.) But I haven't tested them yet. If someone could test them and tell if they work on not, that would be helpful.
Also, if you want it to notify you why you died, put an image in
languagebank\english\gamecore\huds\failed!.dds
;Artificial Intelligence Script
;Header
desc = Leave corpse, and fail if dead!
;Triggers
:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\Faile
d!.dds
:state=0,plraddhealth=-7985
:state=0:state=1,suspend,coloff
;End of Script
;Artificial Intelligence Script
;Header
desc = Fade Out Disappear And Fail If Some People Die!
;Triggers
:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\Faile
d!.dds
:state=0,plraddhealth=-7985
:state=0:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy
;End of Script
In the first script, the body stays, and in the second script, it fades.
NOTE: You have to put them in the destroy area of the entity.
Have fun!