For all the people who can't figure the anti-leach.
Read the whole script, somewhere a code stops the mainloop to repeat.
Some obvious errors.(need basic knowledge)
Just watch YoHoJo's tutorials.
After watching this video, I easily figured out the problem.
http://www.youtube.com/watch?v=pMMejhyjGwI&feature=plcp
Don't watch the video just for the anti-leach.
Watch it for basic knowledge.
This script is totally worth it.
PS: For the player running behind the targets, maybe i have a solution.You could make it so every 5 minutes the player clicks on a white dot in the minimap as not all bots will run behind the target at the same time.