How to make van move by waypoints using align position and Tweens

  1. What do you want to achieve? Keep it simple and clear!
    So i’m currently making an van going to player base position using waypoint parts, and i need to make multiple align position, so it go by roads not by entire map

  2. What is the issue? Include screenshots / videos if possible! I have no idea how to do that. And also quick question how to make align position stop perfectly on waypoint.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub? Yes i tryed to check dev forum, but didn’t understand.

My code:

local Roof = script.Parent
local AlignPosition = Instance.new("AlignPosition")
local Attachment0 = Instance.new("Attachment")
local Attachment1 = Instance.new("Attachment")
local Waypoints = workspace.VanWaypoints
local FstWaypoint = Waypoints:FindFirstChild("1")
local SndWaypoint = Waypoints:FindFirstChild("2")
local TrdWaypoint = Waypoints:FindFirstChild("3")
Attachment0.Name = "Attachment0"
Attachment1.Name = "Attachment1"
AlignPosition.Parent = Roof
Attachment0.Parent = Roof
Attachment1.Parent = FstWaypoint
AlignPosition.Attachment0 = Attachment0
AlignPosition.Attachment1 = Attachment1
AlignPosition.MaxVelocity = 75
AlignPosition.ApplyAtCenterOfMass = true
AlignPosition.ReactionForceEnabled = true
AlignPosition.Responsiveness = 0

I still have no idea how to do that, sorry for bump

Alright reviving dead topic, still didn’t find solution

First of all, responsiveness definitely should not be 0.
Secondly, why are you using ReactionForceEnabled? Do you want the van to pull waypoints to itself or what?

I’m currently watched an yt vid, now i’m using an tween for part which contains Attachment 1, but now problem is what van don’t turn to part
Here is screenshoot:

It just stop moving and don’t turn even if i have align position

Alright so here is new code:

local TweenService = game:GetService("TweenService")
local Object = script.Parent
local VanPrimPart = workspace.Van
local tweenInfo1 = TweenInfo.new(20, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local properties1 = {Position = Vector3.new(1020.588, 1.785, -1240.353)}
local tweenInfo2 = TweenInfo.new(10, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local properties2 = {Position = Vector3.new(1020.588, 1.785, -1396.106)}
local tweenInfo3 = TweenInfo.new(10, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local properties3 = {Position = Vector3.new(1830.358, 1.785, -1396.106)}
local tweenInfo4 = TweenInfo.new(10, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local properties4 = {Position = Vector3.new(1830.358, 1.785, -1303.689)}
local tweenInfo5 = TweenInfo.new(10, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local properties5 = {Position = Vector3.new(1915.806, 1.785, -1303.689)}
local Tween1 = TweenService:Create(Object, tweenInfo1, properties1)
local Tween2 = TweenService:Create(Object, tweenInfo2, properties2)
local Tween3 = TweenService:Create(Object, tweenInfo3, properties3)
local Tween4 = TweenService:Create(Object, tweenInfo4, properties4)
local Tween5 = TweenService:Create(Object, tweenInfo5, properties5)
Tween1:Play()
Tween1.Completed:Connect(function()
	Object.Orientation = Vector3.new(0,90,0)
	Object.Attachment1.Orientation = Vector3.new(0,90,0)
	Tween2:Play()
end)
Tween2.Completed:Connect(function()
	Tween3:Play()
end)
Tween3.Completed:Connect(function()
	Tween4:Play()
end)
Tween4.Completed:Connect(function()
	Tween5:Play()
end)

But now my van just don’t turn to part and stops
Here is screenshot: