Let's say I have several blocks with the name "Block"
and I want to compare their sizes. How would I use the :GetChildren() method in order to compare each and every brick to each other?
Let's also assume that the blocks can be destroyed or be added at any time so I don't actually know how many blocks there are at any given time and I want to find the block with the largest Size.
This means I will have to count the Children (in a loop) and then compare each child's size to each other until I find the child with the largest Size. That brick whose size is larger than all of the other children would be renamed "LargestBrick"

1 comment
Please use a blockquote next time...