Thank you. :)
I couldn't make the AI exactly how I wanted, but as it appears more and more as time goes on, I think it was enough to increase the difficulty. But basically it moves randomly until it is in a "safe" distance from the player to attack. Then, if you get close, it turns and tries to close the loop.