Then this must mean that the problem is that somehow it's not applying the SET_DEATHSCRIPT command. Try this, it will be a bit bloaty, but should work: Create a new script that's like this:
affect ( "player", FLUSH )
{
set ( "SET_DEATHSCRIPT", "test/deathscript" );
}
Give it any name you want, in this case I'll name it use_deathscript and it will be on my 'test' folder. After that, replace on your script the SET_DEATHSCRIPT 'test/deathscript' with:
run ( "test/use_deathscript" );
Since the run command doesn't need to be on the "affect 'player'" list of scripts, I'd place it before the camera fade. It'll basically run a new script that will set the player's deathscript to be whatever you want it to be. Basically, you'd have to create have 3 scripts to make this work.