Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

:WalkTo not moving positions correclty?

Asked by 3 years ago

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)
0
rescript ur position arguement BeautifulAuraLover 371 — 3y
0
rescript ur position arguement BeautifulAuraLover 371 — 3y

Answer this question