I'm trying to make the zombie move to the waypoint and go to the other one but its skipping an waypoint
script:
local zombie = script.Parent
local waypoints = workspace.Waypoints
for waypoint=1, #waypoints:GetChildren() do
zombie.Humanoid:MoveTo(waypoints[waypoint].Position)
zombie.Humanoid.MoveToFinished:Wait()
end
And it skips one after not being able to go to it for a bit