As you can see here, the npcs should be walking to the white blocks 1 by 1, but instead they just ignore some white blocks.
The script that controls the npcs movement:
function move(Entity)
for i, v in ipairs(nodes:GetChildren()) do
Entity.Humanoid:MoveTo(v.Position)
Entity.Humanoid.MoveToFinished:Wait()
end
end
( nodes is the file that contains all the white blocks ), in the script it should move to the next node, once finished then it waits, and moves to another white block again.
Anyone know why the npc walks outside of the path?
