well AI is owned by the server so an AI command is a server command.
In terms of defining you own owner for gameplay/team purposes just create another variable.
It’s been a while since i had this issue so cant be more specific but im pretty sure the problem is basically the AI Possession