I Am having a problem. whenever i break a block it gives me the stone gen. here is my skript
on place:
if name of player's held item contains "&7Stone Generator":
add location of event-block to {placed::gens::%player's uuid%::*}
send "&aYou placed your stone gen!"
on break:
loop all players:
loop all blocks in radius 30 of loop-player:
if loop-block is stone block:
if {placed::gens::%loop-player's uuid%::*} contains location of loop-value-2:
remove location of event-block from {placed::gens::%loop-player's uuid%::*}
give player stone named "&7Stone Generator"