So im trying to make a skript that when you place a bucket with has a custom name and lore it will replace the lava with cobblestone and start placing cobblestone all the way down to bedrock. Here is my current code that i have.
So what happens is it places the initial cobblestone then it places one under as well. Im wondering how i would make it so it will subtract from the y level and then run the while loop on the new block that was placed
code_language.skript:
on place of lava:
set block to cobblestone
while block below is air:
wait 20 ticks
set block below to cobble
So what happens is it places the initial cobblestone then it places one under as well. Im wondering how i would make it so it will subtract from the y level and then run the while loop on the new block that was placed