Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

BrickColor change script won't work?

Ok, so I have tried multiple attempts at this but will explain to the best of my ability. This script is under a part that is under an model named InterierWalls thats under another model then under that model is a colorvalue named interierwallcolor.

local OldBrickColor = script.Parent.BrickColor.Color
local NewBrickColor = script.Parent.Parent.Parent.InteriorWallColor.Value.Color


while true do
	wait(1)
	OldBrickColor = NewBrickColor
end

thanks for helping in advance!

1 answer

local OldBrickColor = script.Parent.BrickColor.Color
local NewBrickColor = script.Parent.Parent.Parent.InteriorWallColor.Value.Color -- you don't need the .Color here, because the "Value" is already Color3


while true do
    wait(1)
    OldBrickColor = NewBrickColor
end

You don't need the .Color on line 3

This discussion is preserved as it was. New answers, comments, and votes are closed.