Non-working AI

Help me out William