Command blocks

Tutorial viewed            times

MCPE PROXIMITY DETECTOR

Paste the first command in the bottom command block and the second command in the upper command block.


/execute @a ~ ~-2 ~ execute @e[type=armor_stand,name=LIGHT,r=6] ~ ~ ~ setblock ~ ~1 ~ air


​/execute @a ~ ~-2 ~ execute @e[type=armor_stand,name=LIGHT,r=5] ~ ~ ~ setblock ~ ~1 ~ redstone_block