Board Thread:Roblox help and discussion/@comment-38592218-20190221041351

I'm trying to code a color changing door that randomly changes the brick color every 0.25 seconds

doorBrickColor = game.Workspace.HelpBuildingDoor.BrickColor



local function ColorChange

doorBrickColor = BrickColor.Random

end



while true do

wait(0.25)

ColorChange

print(doorBrickColor)

end



I do receieve the printed messages about the color changes but my door isn't changing colors at all... can anyone help me here? (new to scripting btw)  