How to assign a numbered part with another simalarly numbered parts?

How exactly would i go around to doing this? so far i’ve been able to create parts with numbers with

clone.Name = "Pixel"..i

just fine but what if i wanted to do something like

clone(number).color =  2ndclonedparts(number).color

the 2ndclonedparts being a separated but similar cloned process parts with numbers as well.

try something like this

clone[number].Color = clonepart2[number].color

you can’t access the the 2 at the begining you could use FindFirstChild(‘2ndclonedparts’)[number].color though to reference it

I think what you actually need is

parent:FindFirstChild("Pixel".. number).Color = 

depends on if clone is a table of all of your parts then use the above I have there which will access a key in the table specified by the number

alright thanks man, this really helped out

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.