Hello. This skript is meant to set the block below any lapiz block in a 3 radius to sand, but the skript seems to set the block below 1 to sand, wait a second, then move on to the next block in the radius. The issue is I need the block below all lapiz blocks to turn to sand at the same time, not separate.
Code:
on place:
if name of held item is "&7Sand Bot":
if event-block is a chest:
loop blocks in radius 3 around the event-block:
if loop-blocks is lapis_lazuli_block:
loop 10 times:
set block below loop-blocks to sand
wait 1 second