Humanoid:MoveTo() help

So basically i have this script:

local zb = game.ReplicatedStorage.Zombie:Clone()

wait(10)

zb.Parent = workspace

zb.Humanoid:MoveTo(workspace.Move1.Position)

zb.Humanoid.MoveToFinished:Connect(function()
	zb.Humanoid:MoveTo(workspace.Move2.Position)
end)

And i want to make it so after the character is done moving to Move2 it moves to Move3 withouth involving other scripts.

If someone knows how i can do that or a more efficient way to do things like this please tell me.

Thanks!

The PathFinding service for Roblox can do this in another way. It creates a series of waypoints between the start position (maybe the Zombie HumanoidRootPart), and the end position (wherever you want it to end up at). Many people say it’s not that reliable, however it’s a great way to start out in my opinion.

Article: PathFinding tutorial

1 Like