Hi, that is, because this normal scripr that I have in each Ncp that is artificial intelligence does not work for me, I have the npc in ServerStorage, the clones from ServerScriptService with a script and in the studio it works perfectly, I tried to put the script in ServerScriptService but only one works Where does the script go? What am I missing?

https://pastebin.com/NJX9hkKM

7 comments

0

No clue what the issue is. I might just be a bit slow. But please also only post code that is relevant instead of posting the entire batch of code.

0

That's the problem that I do not know what the problem is

0

Use the print function to find out what code dosen't execute or where it errors

0

I already had my code full of prints and it works when it does not work it is on the local server in the game in the studio.

0

I do not know if I explain myself well, that it does not work in the localserver and in the studio if it works.

0

I'm not making a multiplayer game it will be a normal game like a story mode.

0

Pathfinding does not replicate across client/server boundaries