How would I collect all the names from a section (for example in workshop, every part in there I can collect the names or do other stuff)
COMMUNITY QUESTION
How would I collect all the names from a section?
1 answer
local children = workspace:GetChildren() --set workspace to whatever you want
for i = 1, #children do
print(i, children[i].Name)
end
This will "collect" all names and print them in console.
This discussion is preserved as it was. New answers, comments, and votes are closed.
