Bu Skript'te Chest e Sağ tıklıyorum Açılıyor , item geliyor Fakat Elimden Chest Gitmiyor.
Kod:
on rightclick with a chest:
if display name of player's tool contains "İtem Kutusu":
cancel event
remove 1 chest named "İtem Kutusu" from player
chance of 50%:
give 1 diamond helmet of protection 4 named "&c&lSansli Kask" to player
give 1 diamond chestplate of protection 4 named "&c&lSansli Gogusluk" to player
give 1 diamond leggings of protection 4 named "&c&lSansli Gogusluk" to player
give 1 diamond boots of protection 4 named "&c&lSansli Gogusluk" to player
stop
chance of 10%:
give 1 diamond helmet of protection 5 named "&c&lSansli Kask" to player
give 1 diamond chestplate of protection 5 named "&c&lSansli Gogusluk" to player
give 1 diamond leggings of protection 5 named "&c&lSansli Gogusluk" to player
give 1 diamond boots of protection 5 named "&c&lSansli Gogusluk" to player
stop
chance of 75%:
give 1 diamond helmet of protection 3 named "&c&lSansli Kask" to player
give 1 diamond chestplate of protection 3 named "&c&lSansli Gogusluk" to player
give 1 diamond leggings of protection 3 named "&c&lSansli Gogusluk" to player
give 1 diamond boots of protection 3 named "&c&lSansli Gogusluk" to player
stop