This is pretty much useless the way it handles the mugger. It gets hit, run away wait for a little while and run straight back into the mugger, repeat. Im not the best at coming up with solutions to these things, but could you possibly make it world hop after running to the safe spot? Other than that its a good script as long as it doesnt have to handle the mugger.
I dont know why, but for some reason the script takes the path in this image every now and then. Its rather often, but it comes and goes. Just wanted to let you know. Other than that its pretty sweet. The anti ban might make it a bit slow every now and then, but god damn does it take into account a lot of anti ban patterns and what not! Great script. Edit: Also this gets spammed in the console on the last roof in Canifis.