Çözüldü Kazma Yükseltme

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

DeapyPeapy

Odunlara Vur Vur Vur!
Katılım
1 Temmuz 2019
Mesajlar
46
Elmaslar
6
Puan
3.820
Yaş
28
Minecraft
Kydroexe
Oyuncu elinde kazma varken -/yükselt yazarsa kazmasını bi üst verimliliğe yükseltecek (verimlilik 1 ise verimlilik 2) ve bunu yaparken benim belirlediğim miktarda exp alması lazım yardımcı olanlara şimdiden teşekkürler (en fazla verimlilik 15 olacak verimlilik 5ten başlıyacak)
 
Son düzenleme:
Şu konuyu inceleyebilirsin Tıkla!
 
Bir de şu konuya göz atın Tıkla!
 
Merhaba dostum, bu skripti dener misin?


Kod:
variables:
    {edit_maden_enchant_kullan.%player%} = 0
    {enchant.kazma.xp.%player%} = 0
    {enchant.kazma.max_xp.%player%} = 100

on rightclick with a pickaxe:
    wait 1 ticks
    open virtual chest with size 3 named "&aKazma Geliştir" to player
    make gui slot integers from 0 to 26 of player with black stained glass pane named "&7( &eJMC-TR &7)" to nothing
    make gui slot 13 of player with 1 of enchanted book named "&cElindeki Kazmanı Geliştir" with lore "||&7Geliştirme Puanı: &f( &e%{edit_maden_enchant_kullan.%player%}% &f)||||     &7Verimlilik &f( &c+1 &f)" to nothing 


on inventory click:
    if inventory name of player's current inventory contains "&aKazma Geliştir":
        if clicked item is not air:
            if name of clicked item is not "&7( &eMC-TR &7)": 
                if name of clicked item is "&cElindeki Kazmanı Geliştir":     
                    if {edit_maden_enchant_kullan.%player%} is greater than or equal to 1:
                        if player's held item is pickaxe:
                            evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%" 
                            remove 1 from {edit_maden_enchant_kullan.%player%}
                            send "&7( &eJMC-TR &7) &8: &aBaşarıyla kazmanıza enchant basıldı." to player
                        else:
                            send "&7( &eJMC-TR &7) &8: &cSadece kazmaya enchant basabilirsin." to player
                    else:
                        send "&7( &eJMC-TR &7) &8: &cÜzgünüm, hiç enchant puanın yok." to player         


on break of lapis ore or obsidian:
    add 1 to {enchant.kazma.xp.%player%}
    set action bar of player to "&eXP &7&l→ &f%{enchant.kazma.xp.%player%}% &7&l| &cMXP &7&l→ &f%{enchant.kazma.max_xp.%player%}%"
    if {enchant.kazma.xp.%player%} is equal to {enchant.kazma.max_xp.%player%}: 
        add 150 to {enchant.kazma.max_xp.%player%}
        add 1 to {edit_maden_enchant_kullan.%player%}
        set {enchant.kazma.xp.%player%} to 0
        send "&aBaşarıyla geliştirme puanı kazandın." to player
 
Merhaba dostum, bu skripti dener misin?


Kod:
variables:
    {edit_maden_enchant_kullan.%player%} = 0
    {enchant.kazma.xp.%player%} = 0
    {enchant.kazma.max_xp.%player%} = 100

on rightclick with a pickaxe:
    wait 1 ticks
    open virtual chest with size 3 named "&aKazma Geliştir" to player
    make gui slot integers from 0 to 26 of player with black stained glass pane named "&7( &eJMC-TR &7)" to nothing
    make gui slot 13 of player with 1 of enchanted book named "&cElindeki Kazmanı Geliştir" with lore "||&7Geliştirme Puanı: &f( &e%{edit_maden_enchant_kullan.%player%}% &f)||||     &7Verimlilik &f( &c+1 &f)" to nothing


on inventory click:
    if inventory name of player's current inventory contains "&aKazma Geliştir":
        if clicked item is not air:
            if name of clicked item is not "&7( &eMC-TR &7)":
                if name of clicked item is "&cElindeki Kazmanı Geliştir":    
                    if {edit_maden_enchant_kullan.%player%} is greater than or equal to 1:
                        if player's held item is pickaxe:
                            evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%"
                            remove 1 from {edit_maden_enchant_kullan.%player%}
                            send "&7( &eJMC-TR &7) &8: &aBaşarıyla kazmanıza enchant basıldı." to player
                        else:
                            send "&7( &eJMC-TR &7) &8: &cSadece kazmaya enchant basabilirsin." to player
                    else:
                        send "&7( &eJMC-TR &7) &8: &cÜzgünüm, hiç enchant puanın yok." to player        


on break of lapis ore or obsidian:
    add 1 to {enchant.kazma.xp.%player%}
    set action bar of player to "&eXP &7&l→ &f%{enchant.kazma.xp.%player%}% &7&l| &cMXP &7&l→ &f%{enchant.kazma.max_xp.%player%}%"
    if {enchant.kazma.xp.%player%} is equal to {enchant.kazma.max_xp.%player%}:
        add 150 to {enchant.kazma.max_xp.%player%}
        add 1 to {edit_maden_enchant_kullan.%player%}
        set {enchant.kazma.xp.%player%} to 0
        send "&aBaşarıyla geliştirme puanı kazandın." to player
2020-05-26_10.32.39.png


bu hatayı alıyorum
 
Bir de şu konuya göz atar mısın? Tıkla!
 
Bir de şu konuya göz atar mısın? Tıkla!
attığınız skript kişiye yeni eşya veriyor ben elindekine uygulamasını ve eski enchlerin sabit kalmasını istiyorum (örnek verimlilik 5 servet 3 ken verimlilik 6 servet 3 olmasını istiyorum) bide exp almıyor oyuncudan
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl