check those lines :
Quote: ":state=1,plrdistwithin=140:sound=audiobank\user\Scream3.wav,state=2
:state=1,plrdistwithin=90,rateoffire:rotatetoplr,setframe=8,state=2
:state=2,framebeyond=8 60,plrdistwithin=100:plraddhealth=-10,state=3,destroy"
Now when the player gets close in 140 units , The script goes to state=2 which requires framebeyond condition , while you didn't use setframe-x at all , add to that - as ST01 said - you use destroy which would destroy the entity .
So your script should look like this (not tested):
desc = Melee Follow and Attack
;Triggers
:state=0,plrdistwithin=500:state=1
:state=1,plrdistfurther=140:rotatetoplr,movefore=2,animate=2
:state=1,plrdistfurther=500:animate=1,state=0
:state=1,plrdistwithin=140:sound=audiobank\user\Scream3.wav,state=2
:state=2,plrdistfurther=90:rotatetoplr,movefore=2,animate=2
:state=2,plrdistwithin=90,rateoffire:rotatetoplr,setframe=8,state=3
:state=2,plrdistfurther=140:state=1
:state=3,framebeyond=8 60,plrdistwithin=100:plraddhealth=-10,state=4
:state=3:incframe=8,rotatetoplr
:state=3,frameatend=8:state=1
:state=4:incframe=8
:state=4,frameatend=8:state=1
compare the 2 scripts and you should get the trick .
"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest