I think I figured it out, I had an instant variable set to change, between 1-4, every 3 seconds. All 4 changed the directions, but if the enemy saw the player it would change to 5, which would give it a pathfinder to the player. I had to add an every second, to the pathfinder, so they'd stay on the player.