I know this seems a bit stupid but I really need help with this.
I've tried using toolbox scripts, ChatGPT scripts but nothing works. I'm trying to recreate the game "Cheese Escape", but for a dog.
The dog keeps running into walls and is way too fast and janky. I've tried using nodes but it just breaks.
I uploaded my script. (I can actually script decently, I'm just not the best at AIs)



