BurakCG
Demir Madencisi
- En iyi cevaplar
- 0
Skript'te Coin Çıkardığı Zaman Perm Hatası Veriyor Bide Ender,Destansı Ve Efsanevi Tılsım'dan Bazen hiçbir şey Çıkmıyor Düzeltebilecek Olan Biri Varmı
Şimdiden Teşekkür Ederim..
Şimdiden Teşekkür Ederim..
Kod:
on rightclick with coal:
if tool's name is "&eSıradan &fCoin &aTılsımı":
if player have 1 coal named "&eSıradan &fCoin &aTılsımı":
cancel event
remove 1 coal named "&eSıradan &fCoin &aTılsımı" from player
apply slowness 999 to player for 0 seconds
apply jump 999 to player for 0 seconds
send "&4&l[&f&lTILSIM&4&l] &8&lTılsım Çözülüyor..." to player
wait 3 seconds
chance of 40%:
execute player command "/kitpvp addcoins %player% 50"
send "&4&l[&f&lTILSIM&4&l] &2 50 Coin kazanildi!" to player
else:
chance of 30%:
execute player command "/kitpvp addcoins %player% 80"
send "&4&l[&f&lTILSIM&4&l] &2 80 Coin kazandiniz!" to player
else:
chance of 20%:
execute player command "/kitpvp addcoins %player% 150"
send "&4&l[&f&lTILSIM&4&l] &2 150 Coin kazandiniz!" to player
else:
chance of 10%:
execute player command "/kitpvp addcoins %player% 300"
send "&4&l[&f&lTILSIM&4&l] &2 300 Coin kazandiniz!" to player
else:
chance of 10%:
execute player command "/ender"
send "&4&l[&f&lTILSIM&4&l] &2 &eEnder &fCoin &aTılsım &9 KAZANDIN!" to player
else:
send "&4&l[&f&lTILSIM&4&l] &2 Üzgünüm" to player
on rightclick with iron ingot:
if tool's name is "&eEnder &fCoin &aTılsımı":
if player have 1 iron ingot named "&eEnder &fCoin &aTılsımı":
cancel event
remove 1 iron ingot named "&eEnder &fCoin &aTılsımı" from player
apply slowness 999 to player for 0 seconds
apply jump 999 to player for 0 seconds
send "&4&l[&f&lTILSIM&4&l] &8&lTılsım Çözülüyor..." to player
wait 3 seconds
chance of 40%:
execute player command "/kitpvp addcoins %player% 250"
send "&4&l[&f&lTILSIM&4&l] &2 250 Coin kazanildi!" to player
else:
chance of 30%:
execute player command "/kitpvp addcoins %player% 500"
send "&4&l[&f&lTILSIM&4&l] &2 500 Coin kazandiniz!" to player
else:
chance of 20%:
execute player command "/kitpvp addcoins %player% 750"
send "&4&l[&f&lTILSIM&4&l] &2 750 Coin kazandiniz!" to player
else:
chance of 9%:
execute player command "/kitpvp addcoins %player% 1000"
send "&4&l[&f&lTILSIM&4&l] &2 1K Coin kazandiniz!" to player
else:
chance of 1%:
execute console command "/destansi"
send "&4&l[&f&lTILSIM&4&l] &2 &eDestansi &fCoin &aTılsım &9 KAZANDIN!" to player
else:
send "&4&l[&f&lTILSIM&4&l] &2 Üzgünüm" to player
on rightclick with gold ingot:
if tool's name is "&eDestansı &fCoin &aTılsımı":
if player have 1 gold ingot named "&eDestansı &fCoin &aTılsımı":
cancel event
remove 1 gold ingot named "&eDestansı &fCoin &aTılsımı" from player
apply slowness 999 to player for 0 seconds
apply jump 999 to player for 0 seconds
send "&4&l[&f&lTILSIM&4&l] &8&lTılsım Çözülüyor..." to player
wait 3 seconds
chance of 40%:
execute player command "/kitpvp addcoins %player% 1000"
send "&4&l[&f&lTILSIM&4&l] &2 1k Coin kazanildi!" to player
else:
chance of 30%:
execute player command "/kitpvp addcoins %player% 1250"
send "&4&l[&f&lTILSIM&4&l] &2 1250 Coin kazandiniz!" to player
else:
chance of 20%:
execute player command "/kitpvp addcoins %player% 750"
send "&4&l[&f&lTILSIM&4&l] &2 1500 Coin kazandiniz!" to player
else:
chance of 9%:
execute player command "/kitpvp addcoins %player% 2000"
send "&4&l[&f&lTILSIM&4&l] &2 2K Coin kazandiniz!" to player
else:
chance of 1%:
execute console command "/efsanevi"
send "&4&l[&f&lTILSIM&4&l] &2 &eEfsanevi &fCoin &aTılsım &9 KAZANDIN!" to player
on rightclick with diamond:
if tool's name is "&eEfsanevi &fCoin &aTılsımı":
if player have 1 diamond named "&eEfsanevi &fCoin &aTılsımı":
cancel event
remove 1 diamond named "&eEfsanevi &fCoin &aTılsımı" from player
apply slowness 999 to player for 0 seconds
apply jump 999 to player for 0 seconds
send "&4&l[&f&lTILSIM&4&l] &8&lTılsım Çözülüyor..." to player
wait 3 seconds
chance of 40%:
execute player command "/kitpvp addcoins %player% 2000"
send "&4&l[&f&lTILSIM&4&l] &2 2k Coin kazanildi!" to player
else:
chance of 30%:
execute player command "/kitpvp addcoins %player% 2250"
send "&4&l[&f&lTILSIM&4&l] &2 2250 Coin kazandiniz!" to player
else:
chance of 20%:
execute player command "/kitpvp addcoins %player% 2500"
send "&4&l[&f&lTILSIM&4&l] &2 2500 Coin kazandiniz!" to player
else:
chance of 10%:
execute player command "/kitpvp addcoins %player% 3000"
send "&4&l[&f&lTILSIM&4&l] &2 2K Coin kazandiniz!" to player