I’m trying to make it so a get children is transparent, I want it legit smooth I’ve tried making separate tweens transparent, they aren’t synced and glitch a bit… Okay, what I mean by this is I want basically a model to transparent, if I wanted to do this I’d have to do like 10 lines of code referring to 10 parts individually.
I’ve tried this code… for i, Part in pairs(workspace.Statue.Statue2.Sign:GetChildren()) do if Part:IsA("BasePart") then local Light2Tween = TweenService:Create(Part, {Transparency = 1}) -- if you want lights to always be on delete this lines 38-42 end
Here’s 1 of the scripts that work with color I want the get children to be transparent instead of color.
if Part:IsA("BasePart") then
local Light2Tween = TweenService:Create(Part, tweenInfoColor, {Color = Color3.fromRGB(255,255,255)})
Light2Tween:Play() -- if you want lights to always be on delete this lines 38-42
end
end```
Thank you.
The thing about that I wanna keep my materials roblox doesn’t have a option “to keep materials” the whole union will be 1 material, there’s neon, then there’s plastic
Right, but it is replicated to the client, so it exists there. It’s harder to set up though and while it’s better for the network, I don’t know if this is the right solution for you;
This script should help you, Here this script makes the size devided by 2, you can change it to transparency as you wish.
for _, Child in ipairs(yours:GetChildren()) do
if Child:IsA("BasePart") then
TweenService:Create(Child, TweenInfo.new(), { Value = Child.Value / 2}):Play()
end
end