how to change the color of a gradient in roblox 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