local stuff = {} -- empty table
function get(model) -- function for i,v in pairs(model:GetChildren()) do -- loop through all objects if pcall(function() v.Transparency = 0 end) then table.insert(stuff,v) end -- if "Transparency" is a property get(v) -- repeat loop on the object (for models within models and decals also) end end
get(workspace.Exterior) -- get all the Transparency items within "Exterior"
for i = 0,1,.1 do -- loop from 0 to 1 (from visible to invisible) wait(.1) for t,k in pairs(stuff) do -- loop through all your parts k.Transparency = i -- set each part (or decal) to its transparency end end