• minecraft-turkiye-reklam

Yumurta skripti YARDIM

KinGoFiRe

Ağaç Yumruklayıcı
Mesajlar
7
#1
yumurta açılırken kırık yumurta veriyor ama bazen item vermiyor yada fazladan item veriyor. Bunu nasıl düzeltebilirim
Kod:
on rightclick holding a egg:
    if tool's name is "&7Yumurta":
        cancel event
        remove 1 egg named "&7Yumurta" from player
        send "&8&l[&cTest] &7yumurta kırılıyor..." to player
        wait 3 seconds
        give 1 egg named "&eKırık yumurta" to player
        chance of 20%:
            give diamond helmet of protection 10, unbreaking 3 named "&6&lTest1 Kaskı" to player
            send "&8&l[&cTest] &bYumurta kaskı kazandın.!" to player
            stop
        chance of 20%:
            give diamond chestplate of protection 10, unbreaking 3 named "&6&lTest1 Zırhı" to player
            send "&8&l[&cTest] &bYumurta zırh kazandın.!" to player
            stop
        chance of 20%:
            give diamond leggings of protection 10, unbreaking 3 named "&6&lTest1 Pantolonu" to player
            send "&8&l[&cTest] &bYumurta pantolon kazandın.!" to player
            stop
        chance of 20%:
            give diamond boots of protection 10, unbreaking 3 named "&6&lTest1 Botları" to player
            send "&8&l[&cTest] &bYumurta bot kazandın.!" to player
            stop
        chance of 20%:
            give diamond sword of sharpness 10, smite 4, unbreaking 3 named "&6&lTest1 Kılıcı" to player
            send "&8&l[&cTest] &bYumurta kılıç kazandın.!" to player
            stop
 
Üst