I hope somebody can help me. I would like to combine several objects in one variable or local.
✓ ANSWER ACCEPTED
How can I combine several parts to one local or variable?
1 answer
✓ Accepted answer
You need to use tables
--this is the table
local yourtable = {workspace.YourPart, workspace.YourOtherPart}
--and to access the elements in the table use yourtable[1] or yourtable[2] and you could use it
--like a normal part or variable...
I recommend you researching about tables
This discussion is preserved as it was. New answers, comments, and votes are closed.
