3 scripts in one; AI, click-to-move, and platforming