on rightclick with chest:
name of player's tool is "&c[&aLuckyBlock&c]":
player has 1 chest named ""&c[&aLuckyBlock&c]":
send "&a[&8LuckyBlock&a] &3&lBir LuckyBlock Açıyorsun."
wait 1 seconds
send "&a[&8LuckyBlock&a] &3&lLuckyBlock Açılıyor.
wait 3 seconds
chance of 2%:
add 150000 to player's balance
send "&a[&8LuckyBlock&a] &c150.000 kazandin."
broadcast "&a[&8LuckyBlock&a] &9&l%player% &c&l150.500 Kazandi!"
chance of 70%:
give 1 stone to player
send "&a[&8LuckyBlock&a] &cŞansına küs taş çıktı."
chance of 15%:
give 1 diamond to player
send "&a[&8LuckyBlock&a] &cHadi yine şanslısın elmas kazandin"
remove 1 chest named "&c[&aLuckyBlock&c]" from player
command /luckyblock:
permission: op
trigger:
give 1 chest named "&c[&aLuckyBlock&c]" to player