New material's colour is a variable in a construction script. I cannot properly initialize it.

Yes, I changed the new variable name to BlockColor, and there is some animation being happened after I choose a new color, but it does not lead me to actually changing a color of the block.