- En iyi cevaplar
- 2
Merhaba Arkadaşlar Bugün Yapmış Olduğum Event Kutusu Skriptini Tanıtacağım /eventci komutu ile serverdeki herkese 1 adet event kutusu gönderir.
Bu Kutuların içerisinden Şansa göre para çıkar
Her Saat Tüm Oyunculara Event Kutusu Göndermek İçinde:
Bu Kutuların içerisinden Şansa göre para çıkar
Kod:
on rightclick with a Chest:
if tool's display name is "&6Event Kutusu":
remove 1 Chest named "&6Event Kutusu" from player
send "&6 &c[&e+&c] &aEvent Kutusu Aciliyor&4&l..."
cancel event
wait 2 seconds
chance of 22%:
execute console command "/eco give %player% 50000"
send "&6&l&m----------------------"
send " &e50&aK &6Para Kazandın"
send "&6&l&m----------------------"
stop
chance of 18%:
execute console command "/eco give %player% 100000"
send "&6&l&m----------------------"
send " &e100&aK &6Para Kazandın"
send "&6&l&m----------------------"
stop
chance of 16%:
execute console command "/eco give %player% 125000"
send "&6&l&m----------------------"
send " &e125&aK &6Para Kazandın"
send "&6&l&m----------------------"
stop
chance of 14%:
execute console command "/eco give %player% 150000"
send "&6&l&m----------------------"
send " &e150&aK &6Para Kazandın"
send "&6&l&m----------------------"
stop
chance of 10%:
execute console command "/eco give %player% 200000"
send "&6&l&m----------------------"
send " &e200&aK &6Para Kazandın"
send "&6&l&m----------------------"
stop
chance of 10%:
execute console command "/eco give %player% 250000"
send "&6&l&m---------------------"
send " &e250&aK &6Para Kazandın"
send "&6&l&m---------------------"
stop
chance of 10%:
execute console command "/eco give %player% 350000"
send "&6&l&m---------------------"
send " &e350&aK &6Para Kazandın"
send "&6&l&m---------------------"
stop
else:
send "&6&l&m---------------------"
send " &4Üzgünüm Boş Çıktı"
send "&6&l&m---------------------"
stop
command /eventci:
permission: money.admin
trigger:
give 1 Chest named "&6Event Kutusu" to player
Kod:
every 1 hours:
execute console command "eventci"