Hey yearcut that script that I made for you, you just need to add to it after the don'tshoot part, but I will post it for you and others. Hopes this helps. Oh and just in case you want you ca change the plr health to whatever you want I just had it kill the plr for shooting a hostage.
;Artificial Intelligence Script
;Header
desc = Follow Waypoints, Crouch If Shot (fear), Resume After 5 seconds
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudsize=100,hudtext= Don't Shoot!,hudhide=1,hudname=dontshoot,hudmake=display
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:nearactivatable=0:settarget,activatetarget=2
:random=20:rotateheadrandom=65
:shotdamage=1:settarget,rotatetotarget,state=10,hudshow=dontshoot,hudfadeout=dontshoot,plraddhealth=-999
:noiseheard=5:settarget,rotatetotarget,state=10
:state=10:timerstart,state=11,waypointstop,animate=31
:state=11,timergreater=5000:state=0,animate=2,waypointstart
:state=11,random=5:rotateheadrandom=35
;End of Script