NPC.Humanoid:MoveTo(player.Character.PrimaryPart.Position)
while NPC.Humanoid.MoveToFinished:Wait() do
wait(0.05)
if (NPC.PrimaryPart.Position - player.Character.PrimaryPart.Position).magnitude < stopAt then
NPC.Humanoid:ChangeState(Enum.HumanoidStateType.None) -- Here is when i want it to just stop and break the loop
end
end
Help appreciated!

1 comment
STOP