Say I have 20 bricks, all 10x10x5, and I'd want to arrange them in the game so that they're right next to each other, but not overlapping or leaving gaps, just on the "y" axis. That is, they'll all have the same "y" coordinate, but the x's and z's would be slightly randomized.
I could script the CFrame for each individual brick, but that would take way too long. Any ideas?

3 comments
this is interesting... what if the bricks aren't even each way? Say the bricks are 8 long and 10 wide. How would this change the script?
You would use * 8 for one coordinate, and * 10 for the other one.
Ah ok, thank you :)