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 =] )