How do you set a Brick's position Randomely within a certain area?
COMMUNITY QUESTION
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.
