#so i made a region and i want on mine of cobblestone it will wait 15 seconds and then set it cobble

1 messages · Page 1 of 1 (latest)

storm shoal
#

heres the code

on mine of cobblestone:
    if player's gamemode is not creative:
        if "%region at event-block%" contains "cobblestone1 in world (planet_mining)":
            wait 1 second
            set all blocks in region "cobblestone1" to cobblestone
``` it shows no error it just doesn't set the blocks to cobblesotne back
plain wind
#

Idk if world names have ()

#

Also you can just check if it contains cobblestone1

#

As long as you only have 1 region named that way

storm shoal
#

yoo thx

#

wait

#

how do i make it loops

#

infinite?

#

times

plain wind
#

Wdym

#

Loop what

storm shoal
#

i want

#

it to reset the mine basicly

#

how do i do that

#

so it will loop all the blocks inside of it infinite times every 30 secodns

plain wind
#

Isnt it already setting the blocks back

storm shoal
#

like yeah but i am using a pickaxe that destorys the block around it so it doesn't reset

#

this is the picaxe code

on break:
    if lore of player's held item contains "&c&lexplosive 1":
        loop all blocks in radius 2 of event-block:
            set loop-block to air
            give player event-block
            play large explosion at event-block
plain wind
#

But arent you setting all nlock

storm shoal
#

?

plain wind
#

Blocks

#

In the region

#

Back to cobble

storm shoal
#

yeah but i want it to do it auto

plain wind
#

It is?

#

They have to break a block

#

To activate pick

plain wind
#

It wait 10 sec

storm shoal
#

it doesn't work

plain wind
#

Then it all resets

storm shoal
#

when i use it it does't reset

plain wind
#

Does it reset

#

If you break without pick

storm shoal
#

yes

#

with a normal one yes

plain wind
#

Weird

storm shoal
#

and when i put

storm shoal
#

looping the explosion infinite

#

please help me

#

phill

#

nvm

#

it works