options:
yuksekpara: 300000
dusukpara: 200000
command /anahtaral:
trigger:
open chest with 1 row named "&cAnahtar Menü" to player
wait 1 tick
format slot 0 of player with diamond named "Düşük" to close then run "dusukall"
format slot 8 of player with diamond named "Yüksek" to close then run "yuksekall"
on command:
if command is "dusukall":
send "deneme"
cancel event
if player's money is bigger than or equal to {@dusukpara}:
execute console command "cc give physical dusuk 1 %player%"
remove {@dusukpara} from player's balance
stop
send "&bBunun için {@dusukpara} Tl'ye ihtiyacın var!"
if command is "yuksekall":
send "deneme"
cancel event
if player's money is bigger than or equal to {@yuksekpara}:
execute console command "cc give physical yuksek 1 %player%"
remove {@yuksekpara} from player's balance
stop
send "&bBunun için {@yuksekpara} Tl'ye ihtiyacın var!"