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

7 comments
Make sure nothing in the npc model is anchored?
oh ok
i already anchored it
Wait, did you unanchor it or anchor it? If you anchored it, there's your problem.
i anchor it
Un anchor it
ok