here is a melee script for you
;Artificial Intelligence Script
;scripted by creator of zombies
;Header
desc = Chase And Shoot
;Triggers
:nearactivatable=0:settarget,activatetarget=2
:losetarget=50:freeze,runfpidefault=1
:plralive=0:freeze,runfpidefault=1
:plrdistwithin=70,plrcanbeseen=46,plringunsight,rateoffire:plraddhealth=-5,animate=7
:shotdamage=1:settarget,freeze,state=0
:state=0,plrdistfurther=70:state=1
:state=0,plrdistwithin=101:state=2,animate=1
:state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0
:state=1:followplr=1,animate=5
:state=1:state=0
:state=2:rotatetoplr,resethead
:state=2:freeze,state=0
:state=4:incframe=6
:state=4,frameatend=6:state=0
;End of Script
;scripted by creator of zombies
ZOMBIES-THE GAME!!! ps- I gave the demo to my mate and he did'nt sleep for a week