#How do I reference a group when changing parameters

1 messages · Page 1 of 1 (latest)

daring comet
#

So I'm trying to change the transparancy of a group, and I'm trying to figure out how to do it.

Normally you would do smth like

game.Workplace.[Part].Transparency = #

But does that change for groups?

neon echo
#

wym group?

next epoch
#

Assuming he meant models, you'd have to use for loop and check if they are a basepart then you can change the transparency.

daring comet
#

Sorry I'm like really new and I'm trying to make a day night cycle growth system

neon echo
#

for i, part inpairs("model":GetChildren) do?

next epoch
#

Get the model's descendants using :GetDescendants(), loop that data.

#

or that too.

daring comet
#

kk

#

tysm!

next epoch
#

getchildren is for every cihld parented to that model's only