modify this
Let me break this up for you.
%bg=localClientConnection.brickgroup; for(%x=0;%x<%bg.getCount();%x++){%b=%bg.getObject(%x);if(%b.getColorID() == 2){%b.setColliding(0);%b.setRayCasting(0);}}
%bg=localClientConnection.brickgroup;
This defines %bg as your brick group. In case you didn't know, blockland breaks up all the bricks into ownership as per brickgroup_blidhere
EG:Brickgroup_16807
for(%x=0;%x<%bg.getCount();%x++)
This loops through every brick in your brickgroup and does the stuff within the brackets.
{%b=%bg.getObject(%x);
%b is the brick, you can do anything with the brick from here. You could destroy them all, fakekill them all, etc.
if(%b.getColorID() == 2)
This is an if statement. If the statement inside of the parenthesis is correct, do the stuff inside of the brackets. "getColorID()" will return the color ID of the brick. In most colorsets, red is 0. In any colorset, the color in the top left of your paint pallet will be 0, followed by 1 (going down)
{%b.setColliding(0);%b.setRayCasting(0);}
This is sort of self explanatory.