I have a model it has 1,000 parts that would take to long to reference them all so how would I get all children at once like this!
--somehow gets all children-- .transparency = 1
thanks
If i understand correctly, a for
loop should be useful in this scenario
for i,v in pairs(model:GetChildren()) do -- Get All Children if v:IsA("BasePart") then -- If its a part v.Transparency = 1 -- Makes its transparency 1 end end
> for _,v in pairs(putplaceofmodelhere:GetChildren()) do > v.Transparency = 1 > end