if 2+2==5 or 2*2.5==5 then for i = 1,10 do x=Instance.new("Part",Workspace) x.Name = "Base" x.BrickColor = "Bright Orange" --Problem here... so far. x.Size = Vector3.new(5,5,5) x.Position = Vector3.new(math.random(100),math.random(100),math.random(100)) x.Transparency = math.random() end end
Part.BrickColor = BrickColor.random() -- might be wrong..
"Change line 5 to this:
x.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
That'll select a random color."
Nope.
x.BrickColor = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
Change line 5 to this:
x.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
or...
x.BrickColor = BrickColor.random()
That'll select a random color.