Self-explanatory. How would I achieve that?
COMMUNITY QUESTION
How would I make a loop that goes through every object in the game?
1 answer
Well, if you just mean the direct children of game, you could easily do it like this:
for i,v in pairs(game:GetChildren()) do print(v.Name) end
But if you wanted it to loop through every single child game has through it's hierarchy you could use recursion.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
What's recursion?