Self-explanatory. How would I achieve that?
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.