of     1   

DiningOnDoggo
#170672169Monday, August 10, 2015 8:33 PM GMT

Is it possible to use getchildren as a way to basically make it to where GetChildren = Children If a button or something is clicked, it sets the transparency of all of the children to 0. Could get children work that way?
TheFermiParadox
#170672490Monday, August 10, 2015 8:36 PM GMT

for _,v in pairs (model:GetChildren()) do if v:IsA("BasePart") then v.Transparency = 0 end end
rescinded
#170672662Monday, August 10, 2015 8:38 PM GMT

local stuff=model:GetChildren() -- stuff is now a table full of children of the model for i=1,#stuff do -- an enumeration from 1 to the number of children in the model if stuff[i]:IsA('Part') -- could be "BasePart", not sure, but this checks if child is part stuff[i].Transparency=0 end end
rescinded
#170672770Monday, August 10, 2015 8:38 PM GMT

local stuff=model:GetChildren() -- stuff is now a table full of children of the model for i=1,#stuff do -- an enumeration from 1 to the number of children in the model if stuff[i]:IsA('Part') then -- could be "BasePart", not sure, but this checks if child is part stuff[i].Transparency=0 end end made a correction

    of     1