Im trying to do WalkTo using npc's, and its moving them to the same position, even tho the seatvalue is different?

		v.Parent = game.Workspace
			local position = Vector3.new(game.Workspace:WaitForChild(v:WaitForChild("SeatPart").Value).Position)
			print(game.Workspace:WaitForChild(v:WaitForChild("SeatPart").Value).Position)
			local humanoid = v:WaitForChild("Humanoid") --parented to character
			humanoid.WalkToPart = nil -- Work around here!
			humanoid:MoveTo(position) --call MoveTo() on humanoid
			humanoid.MoveToFinished:Connect(function(reached)
		    sit(v)

2 comments

0

rescript ur position arguement

0

rescript ur position arguement