Sürpriz Sandık Ve Sürpriz Yumurta Script'i

ThunderEfe

Moderatör
Moderatör
Katılım
11 Nisan 2020
Mesajlar
127
Tepkime puanı
52
Puanları
50
Madalyalar
2
  • Konu Kaşifi
  • Emektar
Merhaba,
Bugün size sürpriz sandık ve sürpriz yumurta script'i
Video'yu izleyerek tanıtımımı görebilirsini
z


Kod:
options: 
    SandikIsim: &eSüprizSandık
    SandikAciliyorMesaj: &eSüprizSandık &8» &7Sandık &cAcılıyor..
    KacSanslaVerilsin1: 25
    KacSanslaVerilsin2: 50
    KacSanslaVerilsin3: 25
    KacSanslaVerilsin4: 25
    KacSanslaVerilsin5: 25
    KacSanslaVerilsin6: 50
    NeVerilsin1: diamond block
    NeVerilsin2: diamond block
    NeVerilsin3: emerald block
    NeVerilsin4: gold block
    NeVerilsin5: iron block
    NeVerilsin6: emerald block
    NeKadarVerilsin1: 128
    NeKadarVerilsin2: 64
    NeKadarVerilsin3: 64
    NeKadarVerilsin4: 64
    NeKadarVerilsin5: 128
    NeKadarVerilsin6: 64

on place of chest:
    if tool's display name is "{@SandikIsim}":
        remove 1 chest named "{@SandikIsim}" from player
        send "{@SandikAciliyorMesaj}"
        cancel event
        chance of {@KacSanslaVerilsin1}%:
            give {@NeKadarVerilsin1} {@NeVerilsin1} to player
        chance of {@KacSanslaVerilsin2}%:
            give {@NeKadarVerilsin2} {@NeVerilsin2} to player
        chance of {@KacSanslaVerilsin3}%:
            give {@NeKadarVerilsin3} {@NeVerilsin3} to player
        chance of {@KacSanslaVerilsin4}%:
            give {@NeKadarVerilsin4} {@NeVerilsin4} to player
        chance of {@KacSanslaVerilsin5}%:
            give {@NeKadarVerilsin5} {@NeVerilsin5} to player
        chance of {@KacSanslaVerilsin6}%:
            give {@NeKadarVerilsin6} {@NeVerilsin6} to player
          
command /suprizsandık:
    permission: supriz.sandik
    trigger:
        give 1 chest named "{@SandikIsim}" to player
      
command /hs:
    permission: supriz.sandikh
    trigger:
        give 5 chest named "{@SandikIsim}" to all players
        execute console command "tm bc &aSüpriz Sandık\n&7Herkeze &eSüpriz Sandık &7Veriliyor"


Kod:
on death of a zombie:
attacker is a player:
  chance of 5%:
   give 1 egg named "&3Sürpriz Yumurta" to attacker
   send "&fMCTÜRKİYE &8&l▸ &3Sürpriz Yumurta Buldun!" to attacker


on right click with egg:
if the tool's display name is "&3Sürpriz Yumurta":
  cancel event
  set {fantezi} to a random integer between 0 and 16
  if {fantezi} is 1:
   give 1 diamond sword of sharpness 4 to player
   send "&fMCTÜRKİYE &8&l▸ &31 Adet Keskinlik 4 Elmas Kılıç Buldun!"
  if {fantezi} is 2:
   give 1 diamond pickaxe of unbreaking 3 to player
   send "&fMCTÜRKİYE &8&l▸ &31 Adet Kırılmazlık 3 Elmas Kazma Buldun!"
  if {fantezi} is 3:
   give 1 emerald to player
   send "&fMCTÜRKİYE &8&l▸ &31 Adet Zümrüt Buldun!"
  if {fantezi} is 4:
   give 1 diamond to player
   send "&fMCTÜRKİYE &8&l▸ &31 Adet Elmas Buldun!"
  if {fantezi} is 5:
   give 4 iron ingot to player
   send "&fMCTÜRKİYE &8&l▸ &34 Adet Demir Buldun!"
  if {fantezi} is 6:
   give 2 gold ingot to player
   send "&fMCTÜRKİYE &8&l▸ &32 Adet Altın Buldun!"
  if {fantezi} is 7:
   give 31 dirt to player
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  if {fantezi} is 8:
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  if {fantezi} is 9:
   give a golden axe of efficiency 3 named "&6&lİste bu senin baltan!" to player
   send "&fMCTÜRKİYE &8&l▸ &3İste bu senin baltan!"
  if {fantezi} is 10:
   give 40 cobblestone to player
   send "&fMCTÜRKİYE &8&l▸ &3Taş Gibi İtemler Buldun!"
  if {fantezi} is 11:
   give a golden apple to player
   send "&fMCTÜRKİYE &8&l▸ &3Altın Elma Buldun!"
  if {fantezi} is 12:
   give 7 coal to player
   send "&fMCTÜRKİYE &8&l▸ &37 Adet Kömür Buldun!"
  if {fantezi} is 13:
   give 31 dirt to player
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  if {fantezi} is 14:
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  if {fantezi} is 15:
   give 31 dirt to player
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  if {fantezi} is 16:
   send "&fMCTÜRKİYE &8&l▸ &3Yumurta Boş Çıktı!"
  remove 1 egg named "&3Sürpriz Yumurta" from player




command /syver:
permission: syver.sk
trigger:
  give 1 egg named "&3Sürpriz Yumurta" to player






on death of a skeleton:
attacker is a player:
  chance of 5%:
   give 1 egg named "&3Sürpriz Yumurta" to attacker
   send "&fMCTÜRKİYE &8&l▸ &3Sürpriz Yumurta Buldun!" to attacker


on death of a creeper:
attacker is a player:
  chance of 5%:
   give 1 egg named "&3Sürpriz Yumurta" to attacker
   send "&fMCTÜRKİYE &8&l▸ &3Sürpriz Yumurta Buldun!" to attacker


İyi günler ;)
 
Üst