GetChildrenFunction of Instance
Description: Returns an array of the object's children.
The below would print the name of all objects currently in Workspace when ran. In this example it's done using a for loop.
It is recommended, however, that you use a generic for loop, as seen below.