Help on npc move

  1. What do you want to achieve? a NPC move

  2. What is the issue? i need to fix this script its very simple but idk how to do it im a noob scripter

local humanoid = script.Parent.Humanoid
while true do
	humanoid:MoveTo(349.974, -208.593, -397.719)
end
  1. What solutions have you tried so far? edit script many but i cant make it
1 Like

Make A Part and Position it Where u Want the NPC To Move At.

local Humanoid = script.Parent.Humanoid -- Make Sure Script is Parented to NPC

wait(5) 
Humanoid:MoveTo(game.Workspace.MovePart.Position) -- MovePart is the Name of the Part
Humanoid.MoveToFinished:Wait()

Or if You want to Use Your Script. Do This

local humanoid = script.Parent.Humanoid

humanoid:MoveTo(349.974, -208.593, -397.719)
humanoid.MoveToFinished:Wait()

2 Likes