move = game.Workspace.NPC.Humanoid
while true do
move:MoveTo(13, 0.5, -8)
wait()
function MoveToFinished ()
move:MoveTo(44, 0.5, -21)
function MoveToFinished()
move:MoveTo(13, 0.5, -27)
function MoveToFinished()
move:MoveTo(-34, 0.5, 55)
function MoveToFinished()
move:MoveTo(-1, 0.5, -24)
end
end
end
end
end
it says Unable to cast value to Object

2 comments
You can either make a new question, or reject his current answer by doing it the same way you did accepting it.
fine, ill make a new question