I don't know why this doesn't work... It is supposed to cycle through a model and make it invisible, and if there is a decal in one of the model's parts, then remove the decal. It makes the bricks transparent, but the decals stay on the parts.
for i, v in pairs(Model:GetChildren()) do
if v:IsA("BasePart") then
v.Transparency = 1
for k, y in pairs(v:GetChildren()) do
if y:IsA("Decal") then
y:remove()
end
end
end
end |