offff ben yaparım
on place of chest:
if tool of player is any chest named "&8&l[&6Sansli Kutu&8&l]":
set event-block to air
execute console command "money give %player% 25000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 50K Kazandınız."
chance of 20%:
execute console command "money give %player% 50000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 50K Kazandınız."
chance of 20%:
execute console command "money give %player% 100000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 100K Kazandınız."
chance of 30%:
execute console command "money give %player% 75000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 75K Kazandınız."
bekleyin remove yazmayı unutmuş olabilirim
on place of chest:
if tool of player is any chest named "&8&l[&6Sansli Kutu&8&l]":
remove 1 chest named "&86l[&6Sansli Kutu&86l]" from player's inventory
set event-block to air
execute console command "money give %player% 25000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 50K Kazandınız."
chance of 20%:
execute console command "money give %player% 50000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 50K Kazandınız."
chance of 20%:
execute console command "money give %player% 100000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 100K Kazandınız."
chance of 30%:
execute console command "money give %player% 75000"
message "&8&l[&6Sansli Kutu&8&l] &7Tebrikler 75K Kazandınız."
DOĞRUSU BUDUR
yada
on rightclick on chest:
if tool of player is any tripwire hook named "&b&lGunluk":
remove 1 tripwire hook named "&b&lGunluk" from player's inventory
give 1 diamond to player
anahtar almak için /give %player% tripwire_hook 1 name:&b&lGunluk bununla chest'e sağ tıkla