im trying to check when a :MoveTo is finished, but its not working, how do I fix this?
local humanoid = v:WaitForChild("Humanoid") --parented to character
humanoid:MoveTo(position) --call MoveTo() on humanoid
wait()
local seat = game.Workspace:WaitForChild(v:WaitForChild("SeatPart").Value)
humanoid:MoveTo(Vector3.new(50,0,0))
humanoid.MoveToFinished:Connect(function(reached) -- Here, the parameter Reached is a bool, which indicates whether the Humanoid has reached the position yet.
print("Player has reached 50, 0, 0")
end)