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

Yeah, I tried. Nothing is changed though.