It's supposed to play a sound when the player gets close to the door (I don't know how the distance works. Can someone explain that?) and show a message box like someone is screaming, and only do this once.
begin FirthaScreamshort DoOnceif ( DoOnce == 1 ) messageBox "I've done this before." ;TESTINGendifif ( DoOnce == 0 ) if ( GetDistance, player == 200 ) ; Maybe this is the problem? PlaySound "BM Nord attackF" messageBox "Hedron! Heeeedron! Help!" set DoOnce to 1 endifendifEnd