I have a really long script that makes it horrible to add content to my game witch uses NPC pathfinding I want to use for I so I can let the NPC walk much easier.

-- My attempt

while true do
for i = 1,21 do
NPC.Humanoid:MoveTo(game.Workspace.Pos1.Position)
NPC.Humanoid.MoveToFinished:wait()

-- and then it would + 1 the pos 1 so the NPC so it would be way easier for me to add scripts

-- old script is too long to add

2 comments

1

Possibly put the old script in pastebin and post the pastebin link?

0

why do you have a while true do loop then a number loop? you realize that's gonna run forever