01 | if 2 + 2 = = 5 or 2 * 2.5 = = 5 then |
02 | for i = 1 , 10 do |
03 | x = Instance.new( "Part" ,Workspace) |
04 | x.Name = "Base" |
05 | x.BrickColor = "Bright Orange" --Problem here... so far. |
06 | x.Size = Vector 3. new( 5 , 5 , 5 ) |
07 | x.Position = Vector 3. new(math.random( 100 ),math.random( 100 ),math.random( 100 )) |
08 | x.Transparency = math.random() |
09 | end |
10 | end |
1 | Part.BrickColor = BrickColor.random() -- might be wrong.. |
"Change line 5 to this:
1 | x.BrickColor = BrickColor.new(math.random(), math.random(), math.random()) |
That'll select a random color."
Nope.
1 | x.BrickColor = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
Change line 5 to this:
1 | x.BrickColor = BrickColor.new(math.random(), math.random(), math.random()) |
or...
1 | x.BrickColor = BrickColor.random() |
That'll select a random color.