Brick color api rolbox
function generateParts(name, color, size)
local part = Instance.new("Part", game.Workspace);
part.Name = name;
part.BrickColor = BrickColor.new(color);
part.Size = Vector3.new(size);
end
generateParts("1", "0, 15, 0", 1, 1, 1) --blue part
generateParts("2") --red part
generateParts("6") -- big part
generateParts("9") --small part