i want to know how to access the properties in all the children of a model, without accessing each of them, like if i wanted to change the transparency of each of the children inside a model, without selecting each of them. I think you need to use for i, v in pairs() do, but im confused how to do it lol

4 comments

0

You can use the command bar, to use pairs(), just do model:GetChildren() or GetDescendants() then do the rest of the code, use the wiki. It's helpful.

0

so like children = model:GetChildren() and for i, v in pairs(children) do

0

thanks it worked

0

Add the "[SOLVED]" in the title of your question to mark the question's state to answered.