Tweenservice help

how to make this stand go to char like this

		local Stand = char:FindFirstChild("Stand")
		
		for i, v in pairs(Stand:GetChildren()) do
			if v:IsA("BasePart") then
				local tweenInfo = TweenInfo.new(
					0.35, 
					Enum.EasingStyle.Linear, 
					Enum.EasingDirection.InOut, 
					0, 
					false, 
					0 
				)

				local goal = {Transparency = 1}
				
				local tween = TweenService:Create(v, tweenInfo, goal)
				tween:Play()
				
				tween.Completed:Connect(function()
					Stand:Destroy()
				end)
			end

i want to make it go back to char primarypart

Assuming the stand and the player have the same parts, I would just iterate through the stand and tween each part to their respective CFrame of the player’s avatar. You can also use the joints if you don’t want the humanoid to break for whatever reason. I personally think this would look better than the video you showed.

However, if you just want the stand to move to the player’s root, then just do that. Tween the stand’s HumanoidRootPart CFrame to that of the player’s character HumanoidRootPart’s CFrame.

how do i add CFrame in goal? i added Transparent

The goal is a table, so you just have to add a comma and the property you want to change.

local goal = {Transparency = 1, CFrame = Character.HumanoidRootPart.CFrame}

the stand didnt move

https://gyazo.com/4c63b9334a643712d2c0b2569cd86935

local tweenInfo = TweenInfo.new(
				0.35, 
				Enum.EasingStyle.Linear, 
				Enum.EasingDirection.InOut, 
				0, 
				false, 
				0 
			)

			local goal = {Transparency = 1, CFrame = char.PrimaryPart.CFrame}
			
			local tween = TweenService:Create(v, tweenInfo, goal)
			tween:Play()

You should only be tweening the stand’s root part. There’s also no need for PrimaryPart as it will be the root part regardless of if a PrimaryPart is set or not.

To clarify: You should tween the CFrame separately from the transparency. But even if you don’t, that still should’ve worked. So I assume the PrimaryPart is the issue. Are there any errors?

nope there no error in the output