Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you set a Brick's position Randomely within a certain area?

How do you set a Brick's position Randomely within a certain area?

1 answer

brick.CFrame = CFrame.new(math.random(xmin, xmax), math.random(ymin, ymax), math.random(zmin, zmax))

Replace the *min and *max with your minimum and maximum position numbers.

This discussion is preserved as it was. New answers, comments, and votes are closed.