Tween Not working| Doesn't shows any error

Hellu i was practicing in roblox studio and i tried using tween service on multiple parts
I think the code is suppose to loop through every part and play the tween.
(I know that i might have made some silly mistake but i’m unable to solve it.)

local tweenservice = game:GetService("TweenService")

local model = game.Workspace.Model
local primary = model.PrimaryPart
model:SetPrimaryPartCFrame(game.Workspace.Part.CFrame)
local info = TweenInfo.new(1)

local legpropertise =  {}
Size = Vector3.new(5,0,0)
Transparency = 1

for _, v in next, model:GetChildren() do
	if v:IsA("Model") and v.Name == "legs" then 
	for _,x in next, v:GetChildren() do 
		if x:IsA("BasePart") then 
				print("helo")
			local tween = tweenservice:Create(x,info,legpropertise)
				tween:Play()
			else
                print("hi")
			end
		end		
	end
end

(Thank u for your time =] )

1 Like

You forgot to put the actual properties inside the table.

1 Like

Ah… srry feel so dumb but thank u for ur time :smiley:

1 Like

Change this to,

local legpropertise =  {}
legpropertise.Size = Vector3.new(5,0,0)
legpropertise.Transparency = 1
2 Likes