I just sketched a script… It was necessary for certain parts to gradually change their color to the one specified in the script. But, as you understand, if this act got away with me and brought the desired result, then I would not bother you with a request to help me…
In short, this script doesn’t work, and would like to know how to make it work.
Finally, let me introduce you to the culprit of this venture:
function changeColor() game.Workspace.RainbowParent.Rainbow1.BrickColor and game.Workspace.RainbowParent.Rainbow12.BrickColor = BrickColor.Red()
wait(8) game.Workspace.RainbowParent.Rainbow2.BrickColor and game.Workspace.RainbowParent.Rainbow11.BrickColor = BrickColor.Blue()
wait(10) game.Workspace.RainbowParent.Rainbow3.BrickColor and game.Workspace.RainbowParent.Rainbow10.BrickColor = BrickColor.Yellow()
wait(12) game.Workspace.RainbowParent.Rainbow4.BrickColor and game.Workspace.RainbowParent.Rainbow9.BrickColor = BrickColor.Blue()
wait(14) game.Workspace.RainbowParent.Rainbow5.BrickColor and game.Workspace.RainbowParent.Rainbow8.BrickColor = BrickColor.new(“Pinc”)
wait(16) game.Workspace.RainbowParent.Rainbow6.BrickColor and game.Workspace.RainbowParent.Rainbow7.BrickColor = BrickColor.new(“Toothpaste”)
wait(18)
end
changeColor()
You can’t change a part’s color by doing BrickColor.Red. Instead do the top like you did at the bottom, with BrickColor.new(“Red”). Also, make sure you’re spelling correctly. I see “Pinc”, make sure you change that to “Pink”. For future reference, you can also do .Color = Color3.fromRGB(0,0,0) ← (Enter in the color code you want here)
I know what the error of this script is, but I don’t know how to fix it. And by asking for help here, I was hoping you would help correct it so to speak.
Excellent. I will take note of your instructions and follow your advice, and it will take me some time to achieve this goal, and then… a positive outcome is not difficult to guess.