Also, try making the bricks white and applying rainbow effect in the script.
To apply the rainbow effect, change the colorfxID to 7. For example, in the following script, it will create one single brick with the Rainbow FX. You can change the number to whatever other special effect you want.:
%posx = 1;
%posy = 1;
%posz = 1;
%temp = new fxDTSBrick()
{
datablock = "brick1x1Data";
position = %posx SPC %posy SPC %posz;
rotation = "0 0 0 0";
scale = "1 1 1";
angleID = "0";
colorfxID = "7";
shapefxID = "0";
isPlanted = 1;
};