Çözüldü Skript İle En Yüksek 10 (Top 10)

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

GamersYT

Yay Yok, İskelet Yok
Katılım
14 Haziran 2017
Mesajlar
292
Elmaslar
69
Puan
13.925
Minecraft
SaitoHajim

Discord:

SaitoHajim#8228

Merhabalar. İstediğim Skript Belli Sadece Bunun Yapılmasını İstiyorum. 2 Tane Top 10 Olcak Variableler {mob::%player%} ve {top::%player%}
Bunlarla İlgili Top 10 Yapabilecek Varsa Çok İyi Olur Ya Da Bunlarla Olmazsa Da Örnek Bir Tanede Atabilirsiniz.Ayrıca GUI Destekli Olursa Çok Daha İyi Olur. Şimdiden Teşekkürler.
 
Kod:
command /mob10:
    trigger:
        loop {mob::*}:
            add 1 to {_size}
            if {_low.to.high.list::%loop-value%} is not set:
                set {_low.to.high.list::%loop-value%} to loop-index
            else:
                set {_n} to 0
                loop {_size} times:
                    set {_n} to {_n}+1
                    {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
                    set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
                    stop loop
        wait 1 tick
        set {_n} to size of {_low.to.high.list::*}
        loop {_low.to.high.list::*}:
            set {_high.to.low.list::%{_n}%} to loop-value
            set {_n} to {_n}-1
        wait 1 tick
        open virtual chest with size 4 named "En çok öldürenler" to player
        make gui slot 32 of player with fire charge named "&aYenile" with lore "&7Sayfayı yenilemek için tıklayın" to close then run player command "sıralama"
        make gui slot 30 of player with book named "&aSenin öldürmen" with lore "&7Öldürmen: &f%{mob::%player%}%" to nothing
        loop {_high.to.low.list::*}:
            add 1 to {_result}
 
            make gui slot ({_result}-1) of player with skull of ("%loop-value%" parsed as offline player) named "&a&l%{_result}%. &e%loop-value% &7(%{mob::%loop-value%}%)" to nothing
            if {_result} is 26:
                stop

Kod:
command /top10:
    trigger:
        loop {top::*}:
            add 1 to {_size}
            if {_low.to.high.list::%loop-value%} is not set:
                set {_low.to.high.list::%loop-value%} to loop-index
            else:
                set {_n} to 0
                loop {_size} times:
                    set {_n} to {_n}+1
                    {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
                    set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
                    stop loop
        wait 1 tick
        set {_n} to size of {_low.to.high.list::*}
        loop {_low.to.high.list::*}:
            set {_high.to.low.list::%{_n}%} to loop-value
            set {_n} to {_n}-1
        wait 1 tick
        open virtual chest with size 4 named "En çok öldürenler" to player
        make gui slot 32 of player with fire charge named "&aYenile" with lore "&7Sayfayı yenilemek için tıklayın" to close then run player command "sıralama"
        make gui slot 30 of player with book named "&aSenin öldürmen" with lore "&7Öldürmen: &f%{top::%player%}%" to nothing
        loop {_high.to.low.list::*}:
            add 1 to {_result}
 
            make gui slot ({_result}-1) of player with skull of ("%loop-value%" parsed as offline player) named "&a&l%{_result}%. &e%loop-value% &7(%{top::%loop-value%}%)" to nothing
            if {_result} is 26:
                stop
 
Kod:
command /mob10:
    trigger:
        loop {mob::*}:
            add 1 to {_size}
            if {_low.to.high.list::%loop-value%} is not set:
                set {_low.to.high.list::%loop-value%} to loop-index
            else:
                set {_n} to 0
                loop {_size} times:
                    set {_n} to {_n}+1
                    {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
                    set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
                    stop loop
        wait 1 tick
        set {_n} to size of {_low.to.high.list::*}
        loop {_low.to.high.list::*}:
            set {_high.to.low.list::%{_n}%} to loop-value
            set {_n} to {_n}-1
        wait 1 tick
        open virtual chest with size 4 named "En çok öldürenler" to player
        make gui slot 32 of player with fire charge named "&aYenile" with lore "&7Sayfayı yenilemek için tıklayın" to close then run player command "sıralama"
        make gui slot 30 of player with book named "&aSenin öldürmen" with lore "&7Öldürmen: &f%{mob::%player%}%" to nothing
        loop {_high.to.low.list::*}:
            add 1 to {_result}

            make gui slot ({_result}-1) of player with skull of ("%loop-value%" parsed as offline player) named "&a&l%{_result}%. &e%loop-value% &7(%{mob::%loop-value%}%)" to nothing
            if {_result} is 26:
                stop

Kod:
command /top10:
    trigger:
        loop {top::*}:
            add 1 to {_size}
            if {_low.to.high.list::%loop-value%} is not set:
                set {_low.to.high.list::%loop-value%} to loop-index
            else:
                set {_n} to 0
                loop {_size} times:
                    set {_n} to {_n}+1
                    {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
                    set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
                    stop loop
        wait 1 tick
        set {_n} to size of {_low.to.high.list::*}
        loop {_low.to.high.list::*}:
            set {_high.to.low.list::%{_n}%} to loop-value
            set {_n} to {_n}-1
        wait 1 tick
        open virtual chest with size 4 named "En çok öldürenler" to player
        make gui slot 32 of player with fire charge named "&aYenile" with lore "&7Sayfayı yenilemek için tıklayın" to close then run player command "sıralama"
        make gui slot 30 of player with book named "&aSenin öldürmen" with lore "&7Öldürmen: &f%{top::%player%}%" to nothing
        loop {_high.to.low.list::*}:
            add 1 to {_result}

            make gui slot ({_result}-1) of player with skull of ("%loop-value%" parsed as offline player) named "&a&l%{_result}%. &e%loop-value% &7(%{top::%loop-value%}%)" to nothing
            if {_result} is 26:
                stop
Çok Teşekkür Ederim
 
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