So, I have figured out from https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo that humanoids will stop moving when it doesnt reach its destination in time using :MoveTo(). It says to repeatedly run the :MoveTo() script to keep reseting the timer. Problem is, I dont know how to do this with my script. Any help?
for waypoint=1, #w:GetChildren() do
mob.movingTo.Value = waypoint
hum:MoveTo(w[waypoint].Position)
hum.MoveToFinished:Wait()
end