Bulundu En Çok Puan Toplayanın Kazanması

  • Konuyu Başlatan Konuyu Başlatan HcaTR
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 310
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HcaTR

Odunlara Vur Vur Vur!
Katılım
16 Ekim 2016
Mesajlar
36
Elmaslar
3
Puan
13.210
Yaş
28
Merhabalar Skriptimde mob öldürdükce puan kazanıyorsunuz.Amacım 2 dk sonra en çok puan toplayan 1 kişiye ödül vermesi yapabilirseniz çok mutlu olurum teşekkürler


Kod:
on death of cow , sheep and pig:
    if name of cow , sheep and pig is "&a+ 7":
        if attacker is a player:    
            add 7 to {puanım::%attacker%}    
            clear drops
            send "&ePuanın &c%{puanım::%attacker%}% &eoldu Kesmeye Devam." to attacker
command /puaneventi [<text>]:
    permission: sky.op
    trigger:
        if arg-1 is "başlat":
            if {spawn.ayarla} is true:
                loop 40 times:
                    chance of 15%:
                        wait 5 tick
                        spawn a cow or pig or sheep at location of {location}
                        set display name of spawned cow to "&a+ 7"
                        set display name of spawned pig to "&a+ 7"    
                        set display name of spawned sheep to "&a+ 7"    
                        set display name of spawned chicken to "&a+ 7"
 
Kod:
on death of cow , sheep and pig:
    {oyunn} is true
    if name of cow , sheep and pig is "&a+ 7":
        if attacker is a player:   
            add 7 to {puanım::%attacker%}   
            clear drops
            send "&ePuanın &c%{puanım::%attacker%}% &eoldu Kesmeye Devam." to attacker
command /puaneventi [<text>]:
    permission: sky.op
    trigger:
        if arg-1 is "başlat":
            if {spawn.ayarla} is true:
                set {oyunn} to true
                loop 40 times:
                    chance of 15%:
                        wait 5 tick
                        spawn a cow or pig or sheep at location of {location}
                        set display name of spawned cow to "&a+ 7"
                        set display name of spawned pig to "&a+ 7"   
                        set display name of spawned sheep to "&a+ 7"   
                        set display name of spawned chicken to "&a+ 7"
                wait 0.1 minute
                delete {oyunn}
                loop {puanım::*}:
                    if {_kill} isn't set:
                        set {_kill} to {puanım::%loop-index%}
                        set {_killer} to "%loop-index%"
                    if {_kill} < {puanım::%loop-index%}:
                        set {_kill} to {puanım::%loop-index%}
                send "Kişi &8: &7%{_killer}%"
                send "Puanı &8: &c%{_kill}%"
                delete {puanım::*}

Buyur. Ödül vermeyi send "Puanı &8: &c%{_kill}%" dan sonra yazabilirsin.
 
Kod:
on death of cow , sheep and pig:
    {oyunn} is true
    if name of cow , sheep and pig is "&a+ 7":
        if attacker is a player:  
            add 7 to {puanım::%attacker%}  
            clear drops
            send "&ePuanın &c%{puanım::%attacker%}% &eoldu Kesmeye Devam." to attacker
command /puaneventi [<text>]:
    permission: sky.op
    trigger:
        if arg-1 is "başlat":
            if {spawn.ayarla} is true:
                set {oyunn} to true
                loop 40 times:
                    chance of 15%:
                        wait 5 tick
                        spawn a cow or pig or sheep at location of {location}
                        set display name of spawned cow to "&a+ 7"
                        set display name of spawned pig to "&a+ 7"  
                        set display name of spawned sheep to "&a+ 7"  
                        set display name of spawned chicken to "&a+ 7"
                wait 0.1 minute
                delete {oyunn}
                loop {puanım::*}:
                    if {_kill} isn't set:
                        set {_kill} to {puanım::%loop-index%}
                        set {_killer} to "%loop-index%"
                    if {_kill} < {puanım::%loop-index%}:
                        set {_kill} to {puanım::%loop-index%}
                send "Kişi &8: &7%{_killer}%"
                send "Puanı &8: &c%{_kill}%"
                delete {puanım::*}

Buyur. Ödül vermeyi send "Puanı &8: &c%{_kill}%" dan sonra yazabilirsin.
Teşekkürler çalışıyor fakat kazanan <player> olarak gözüküyor.
 
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
Üst