AI Issue with movement

I added a 5 seconds delay, and nothing happened