I am working on a project that involves moving platforms. There are around 500 parts in the Workspace with the name 'Part1'. I am going to make each one move a random distance up or down. I am going to use Math.Random to create a number it has to move, but I can't work out how to make each one move a random distance so they all go up and down different distances at varying intervals. I used
game.Workspace:GetChildren()
to select the parts, but this method selects all of the parts instead. I need to know a way to select a certain number of parts and then generate a random number for each one.

2 comments
No, :IsA("BasePart") is so much better. It looks for wedges and other parts that aren't under the ClassName 'Part'.
I was only building with Basic Parts.