D
Deleted member 5254
it now semi works but due to the fact that im using a 1 time use item to summon the chest it doesnt go away when emptyThis should work
[doublepost=1499825302,1499825265][/doublepost]code_language.skript:function chestSummon(player: player): #here you get a random block set {_block} to random element out of the blocks in radius 10 around {_player} set block at {_block} to chest #Here is where you add the items this is just an example set slot 3 of {_block}'s inventory to diamond sword #Here is where you check if the chest has items while {_block} is a chest: if items in {_block}'s inventory isn't set: set {_block} to air wait 1 tick on rightclick: chestSummon(player)
Yeah i forgot to change that part