script.Parent.Parent.Part.Color3 = vect.Color3.new == Color3.new(.0, 38, .2 ) wait(.01) script.Parent.Parent.Brick.Color3 = vect.CColor3.new == Color3.new == Color3.random if Brick.Color3 == vect.Color3(0, 0, 0) then script.Parent.Parent.Part.Color3 = vect.Color3.new == Color3.random while true do if Brick.Color3.Value = (0,0,0) then true = Color3.new(.0, 38, 0.2) end end end
Script is not working. I want a color changing brick and my script doesn't seem to work at all. Can someone help me find my mistakes?
First instead of going to the workspace just put the script in the part and say "script.Parent". Second, you can't use color3 with bricks. You have to make numbers with different color names assigned to them like this "1 = "ReallyRed" 2 = "ReallyBlue" 3 = "Toothpaste" 4 = "ReallyBlack". Then you use math.random(1,4). Third, even if you were using color3 you don't need vect behind it.