Tanaka Skript

melih343

Zombi Katili
En iyi cevaplar
0
Merhabalar,
Metin2 Oynayanlar Daha Yakından Bilirler,Eventlerde Tanaka Geliyor Ve Bol Miktarda Para Düşüyordu.
Bende Bunu Yapmak İstedim..
/tanaka yazarak Slimeballı alın ve herhangi bir blocka sağ tıklayın
Doğan Tanakayı Öldürünce Size Rastgele İtemler Gelecek(Diamond,Zümrüt,Altın ve Demir Külçesi Ayarladım Bunları Düzenlersiniz.)
Eventlerde Kullanan Arkadaşlar Olur Diye Böyle bir şey Yaptım Fakat Lütfen Basit Skript Olsa Bile Saygı Duyun.. (Başkasına Lazım Olabilir)

PHP:
command /tanaka:
    permission: admin
    trigger:
        give 10 slimeball named "&6Tanaka" to player
on rightclick with slimeball:
    cancel event
    if tool is slimeball named "&6Tanaka":
        remove 1 slimeball named "&6Tanaka" from the player
        create a safe explosion with force 5
        spawn 1 villager
        set name of spawned villager to "&6Tanaka"
on rightclick on villager:
    if name of villager is "&6Tanaka":
        cancel event
on death of villager:
    clear drops
    if name of victim is "&6Tanaka":
        chance of 50%:
            drop 10 diamond at location of victim
            drop 20 iron ingot at location of victim
            drop 20 gold ingot at location of victim
            drop 10 emerald at location of victim
        else if chance of 90%:
            drop 5 diamond at location of victim
            drop 10 iron ingot at location of victim
            drop 10 gold ingot at location of victim
            drop 5 emerald at location of victim
        else if chance of 100%:
            drop 1 diamond at location of victim
            drop 5 iron ingot at location of victim
            drop 5 gold ingot at location of victim
            drop 1 emerald at location of victim
 
Üst