#Mine Regen

1 messages · Page 1 of 1 (latest)

green nebula
#

Hello, can you help me with a mine regen script for the region?

nova turtle
#

just state your issue

green nebula
#
    {whitelist::blocks::*} = gray glazed terracotta
 
on block break:
    "%region at event-block%" is "__global__ in world world"
    if {whitelist::blocks::*} doesn't contain event-block:
        player doesn't have permission "builder.bypass"
        cancel event
        message "&c&lHey!&r &7Sorry, but you can't break that block here."
    else:
        player's gamemode is survival
        if event-block is gray glazed terracotta:
            wait 3 ticks
            set event-block to bedrock
            wait 30 seconds
            set event-block to emerald block```
#

It doesn't work, that is, if you break "gray glazed terracotta", it's like breaking normally

#

?