I was programming an npc movement script of my game but the npc wont move, there are no errors in the output just my script isnt working. The npc is a R15 type model
local humanoid = script.Parent.Humanoid while true do humanoid:MoveTo(Vector3.new(50,0,0)) humanoid.MoveToFinished:Wait() humanoid:MoveTo(Vector3.new(0,0,0)) humanoid.MoveToFinished:Wait() end