Disco Armor Scripti

Literary Network

Yeni Üye
Üye
LEVEL 1
Buyrun
Kod:
command /discoarmor:
    trigger:
        if player has permission "vip.discoarmor":
            if {j.%player%.DiscoArmor} is not set:
                set {j.%player%.DiscoArmor} to "AKTIF"
                set {j.%player%.DiscoArmorChanger} to "AKTIF"
                send "&eLiteraryNetwork &8》 &d&lDiscoArmor &aözelliğini açtınız." to player
                while {j.%player%.DiscoArmor} is "AKTIF":
                    {j.%player%.DiscoArmorChanger} is "AKTIF":
                        dye player's helmet (random integer between 0 and 255, random integer between 0 and 255, random integer between 0 and 255)
                        dye player's chestplate (random integer between 0 and 255, random integer between 0 and 255, random integer between 0 and 255)
                        dye player's leggings (random integer between 0 and 255, random integer between 0 and 255, random integer between 0 and 255)
                        dye player's boots (random integer between 0 and 255, random integer between 0 and 255, random integer between 0 and 255)
                        wait 1 tick
            else:
                send "&eLiterary Network &8》 &d&lDiscoArmor &aözelliğini kapattınız.Eğer kapanmamissa cikip giriniz" to player
                delete {j.%player%.DiscoArmor}
                delete {j.%player%.DiscoArmorChanger}
                stop
        else:
            send "&cBu komutu kullanabilmek için &d&lVIP &calınız" to player