Çözüldü Rütbe sistemi

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

BeratSeyfettin

Koydum Çalışma Masasını
Katılım
2 Aralık 2018
Mesajlar
69
Elmaslar
34
Puan
2.020
Konum
Ankara
Minecraft
BeratSeyfettin
Bu sistemde Vip ve Rehberin kullanamamasını istiyorum.
Teşekkürler
JavaScript:
On first join:
    set {puan::%player%} to 0

on death:
    attacker is a player
    victim is a player
    add 3 to {puan::%attacker%}
    add -1 to {puan::%victim%}
    if {puan::%attacker%} is 400:
        send "&c&lAyyıldız&f&lPvP &8» &a400 Rütbe &epuanına ulaştın&8." to attacker
        loop 3 times:
            execute console command "/playsound fireworks.largeBlast %attacker%"
            execute console command "/playsound fireworks.twinkle_far %attacker%"
            execute console command "/playsound fireworks.blast %attacker%"
        execute console command "/manuadd %attacker% acemikatil"
    else:   
        if {puan::%attacker%} is 800:
            send "&c&lAyyıldız&f&lPvP &8» &a800 Rütbe &epuanına ulaştın&8." to attacker
            loop 3 times:
                execute console command "/playsound fireworks.largeBlast %attacker%"
                execute console command "/playsound fireworks.twinkle_far %attacker%"
                execute console command "/playsound fireworks.blast %attacker%"
            execute console command "/manuadd %attacker% serikatil"
        else:
            if {puan::%attacker%} is 1500:
                send "&c&lAyyıldız&f&lPvP &8» &a1500 Rütbe &epuanına ulaştın&8." to attacker
                loop 3 times:
                    execute console command "/playsound fireworks.largeBlast %attacker%"
                    execute console command "/playsound fireworks.twinkle_far %attacker%"
                    execute console command "/playsound fireworks.blast %attacker%"
                execute console command "/manuadd %attacker% tetikci"
            else:
                if {puan::%attacker%} is 2500:
                    send "&c&lAyyıldız&f&lPvP &8» &a2500 Rütbe &epuanına ulaştın&8." to attacker
                    loop 3 times:
                        execute console command "/playsound fireworks.largeBlast %attacker%"
                        execute console command "/playsound fireworks.twinkle_far %attacker%"
                        execute console command "/playsound fireworks.blast %attacker%""
                    execute console command "/manuadd %attacker% uzman"
                else:
                    if {puan::%attacker%} is 4000:
                        send "&c&lAyyıldız&f&lPvP &8» &a4000 Rütbe &epuanına ulaştın&8." to attacker
                        loop 3 times:
                            execute console command "/playsound fireworks.largeBlast %attacker%"
                            execute console command "/playsound fireworks.twinkle_far %attacker%"
                            execute console command "/playsound fireworks.blast %attacker%"
                        execute console command "/manuadd %attacker% azrail"
 
Kod:
...
    if player has the permission "yetki"
    ...
 
Merhabalar, Sorununuz çözüldü ise lütfen belirtiniz.
 
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