Help With AI

Ok its an advance but i need to him when go to a target then go next to other