roblox studio brickcolors code example
Example: how to make a color changing brick in roblox studio
local MyPart = script.Parent
while wait(0.1) do
MyPart.BrickColor = BrickColor.random()
end
local MyPart = script.Parent
while wait(0.1) do
MyPart.BrickColor = BrickColor.random()
end