I’m trying to make my whole group transparency 1 but I don’t know how to reference everything inside the model any one know how to reference everything inside
1 Like
Okay so you want to make parts inside of a model transparent? Basically you need to go through the children of the model and change them to be transparent. Presuming it was just a model with parts…
local Model = game.Workspace:WaitForChild('Model')
for _, Child in pairs(Model:GetChildren()) do
Child.Transparency = 1
end
3 Likes
for _, child in pairs(locationofmodel:GetDescendants()) do
if child:IsA("BasePart") or child:IsA("MeshPart") then
child.Transparency = 1
end
end
Change the location of the model
1 Like