I have a very simple script for an r6 rig in a tower defense game. It is supposed to move towards a total of 3 different points, however, when moving towards the second one, just a couple of studs away from the target position, it turns toward the last point and falls, btu it has not yet rea ched the target position, so I dont know what is going on.
local humanoid = script.Parent.Humanoid
humanoid:MoveTo(workspace.TurnPoints.Start.Position)
humanoid.MoveToFinished:Wait()
humanoid:MoveTo(workspace.TurnPoints:FindFirstChild("1").Position)
humanoid.MoveToFinished:Wait()
humanoid:MoveTo(workspace.TurnPoints:FindFirstChild("2").Position)
humanoid.MoveToFinished:Wait()

2 comments
Thanks for the help, but it did not work, the rig still turns before reching the target position, something i noticed though, is that is seems to tern based on time, I reduced the humanoinds WalkSpeed to half, and it actually turned halfway instead of close to the end, even with this line at the end.
Did the humanoid went to the points when you tested the game using 'Run'?