I am trying to get the npc to walk to the part using the moveto function but it never reaches the part and stops at the same spot. Whenever i put the block further the npc walks further but stops again at another spot. Whenever i put the block closer the npc doesnt reach the middle of the part which its supposed to. Am i doing something wrong?
If the NPC is far away from the destination, it could be because it’s taking longer than 8 seconds to walk to the destination.
From the docs:
The reach goal state of a humanoid will timeout after 8 seconds if it doesn’t reach its goal. This is done so that NPCs won’t get stuck waiting for Humanoid.MoveToFinished to fire. If you don’t want this to happen, you should repeatedly call MoveTo so that the timeout will keep resetting.
Since it’s scripting support please post your script with 3 backticks before and after to format it properly (```).
Also, have you searched the forums? There are lots of “NPC not reaching target” posts already solved.
Oh i didnt know that well thats dumb
Not dumb.
Imagine if you accidentally tried to send your NPC to a Position of (50.005, 0, 0)
and missed the decimal making it (50000, 0, 0)
.
The poor NPC would get really tired.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.