Unfortunately only the Emerald author is going to be able to fix the script he gave you. He's welcome to contact me if I can help in any way. I'm not familiar with Emerald coding. He might just need some null checks or something.
Okay, thank you for the info. I figured I would post something over to just see if there was anything you could think of. The weird thing is that if I don't use Core GameKit the AI works just fine. It only seems to happen after being spawned. I used Emerald and Core GameKit before with no problems. I have no idea. Maybe I could try an older version of Emerald AI.