How do I make this repeat?
while (true) do
script.Parent.Humanoid:MoveTo(Vector3.new(-13, 0.59, 31) )
wait(3)
script.Parent.Humanoid:MoveTo(Vector3.new(23, 0.79, 31) )
wait(3)
script.Parent.Humanoid:MoveTo(Vector3.new(23, 0.79, -6) )
wait(3)
script.Parent.Humanoid:MoveTo(Vector3.new(-13, 0.59, -6) )
wait(3)
return
end
I put in while (true) do but it doesn't loop any ideas?

2 comments
Wait, does it move when you test it? Because I think you move the entire "character" not the humanoid
it was intended to move the entire npc from point to point in an infinite loop