Tweening multiple welded objects

Hey!
I am making a swing theme park ride where it swings and the seats spin around. How do I make 2 welded parts do different tweens without one effecting one of other?

Thanks :slight_smile:

You could use a HingeConstraint set to Motor for each seat if the seat needs to spin in circles, or you could set it to Servo to have it spin back and forth.

When I try and do that and set the motor to be in the Arm (That connects to a cylinder that swings the ride) it spins until I start the cycle of tweens/the rides cycle and the seats just go still (Not spinning anymore) and now then the arms detaches itself from the seats and just swings without being welded/joined to the seats.

Try this:

local tweenService = game:GetService("TweenService")
local info = TweenInfo.new()

local function tweenModel(model, CF)
	local CFrameValue = Instance.new("CFrameValue")
	CFrameValue.Value = model:GetPrimaryPartCFrame()

	CFrameValue:GetPropertyChangedSignal("Value"):Connect(function()
		model:SetPrimaryPartCFrame(CFrameValue.Value)
	end)
	
	local tween = tweenService:Create(CFrameValue, info, {Value = CF})
	tween:Play()
	
	tween.Completed:Connect(function()
		CFrameValue:Destroy()
	end)
end

Original solution:

Would I use this with the parts being welded together?

I don’t really understand this code.

U need to setup the part PrimaryPart’s and Weld all parts of the model