I want to make a random shaped part and a random colored part via script.
x = Instance.new("Part") x.Shape = -- random shape x.BrickColor = -- random color
To choose a random brick colour, there is a built in function to do this:
x.BrickColor = x.BrickColor.Random()
OR
local color = Color3.new(math.random(), math.random(), math.random()) x.BrickColor = color