AI not moving when i changed movement to Z axis

have you tried setting your AI movement mode to flying when it is gonna move on Z?