https://t.co/WlLK1qcEkj(distance/Speed, Enum.EasingStyle.Linear), {Position = node.Position})
movementTween:Play()
workspace.Part1.Touched:Connect(function(part)
if https://t.co/PnKpYSB2Lr == "Main" then
Pause(movementTween)
end
end)
end
end```
So I found a Devforum post and a guy named Katrist made a train nodes and tweening script here and I wanted to just mess around with pausing tweens following nodes How i can make train in roblox?
wait(5)
tween:Play()
end
while Train:IsDescendantOf(workspace) do
for i, node in ipairs(workspace.Nodes:GetChildren()) do
local distance = (node.Position - Train.PrimaryPart.Position).Magnitude
movementTween = TweenService:Create(Train.PrimaryPart,