There is a better srtipt out, but this is BASICALY what you want:
;Artificial Intelligence Script
;Header
desc = Follow Waypoints
;Triggers
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
;End of Script
:state=0,plrdistwithin=30,plrhigher=10:waypointstart,plrfreeze=1,state=1
:state=1,waypointstate=5:waypintstop,plrfreeze=0,destroy
Also, give it this start sctipr to make ie fully transparent:
;Artificial Intelligence Script
;Header
desc = Appear Clear
;Triggers
:state=0:setalphafade=0,runfpidefault=1
;End of Script