on rightclick with chest:
if name of player's tool contain "&b&lSans Kutusu":
if player has a stick named "&1&lSans Kutusu Anahtari":
cancel event
remove a chest named "&b&lSans Kutusu" and remove a stick named "&1&lSans Kutusu Anahtari"
chance of 1%
give a diamond block to player
send "&b&lTebrikler! 1 Adet Elmas Blok Kazandin!" to player
chance of 2%
give 8 diamond to player
send "&b&lTebrikler! 8 Adet Elmas Kazandin!" to player
chance of 10%
give a iron block to player
send "&b&lTebrikler! 1 Adet Demir Blok Kazandin!" to player
chance of 14%
give 8 iron ingot to player
send "&b&lTebrikler! 8 Adet Demir Kazandin!" to player
chance of 20%
give a gold block to player
send "&b&lTebrikler! 1 Adet Altin Blok Kazandin!" to player
chance of 26%
give 8 gold ingot to player
send "&b&lTebrikler! 8 Adet Altin Kazandin!" to player
on break of cobblestone or stone:
chance of 1%:
give a chest named "&b&lSans Kutusu" to player
chance of 1%:
give a stick named "&1&lSans Kutusu Anahtari" to player