[ISTEK] RÜTBE KUTUSU SKRİPTİ

Battincik

BattincikHarika
En iyi cevaplar
0
Merhaba arkadaşlar, sizden bir isteğim var. Serverimde rütbe sistemi kullanıyorum ancak kit yerine oyuncu her rütbe atladığında vermesi için kutu skripti istiyorum.
Kısaca Acemi rütbe atlayınca Oyuncu Kutusu ve para verilecek.
Kutun içinden ne çıkacağını ben düzenleyebileceğim.

Rütbeler
Acemi , Oyuncu , Tecrubeli , Uzman , Usta , Ustad , Asil , Soylu , Kahraman , Efsanevi , Profesyonel , Yak Hwan
 

afesraca

Obsidyen Madencisi
En iyi cevaplar
0
PHP:
on right click with a chest named "ödül":
    if player has the permission "Rütbe.acemi":
        remove 1 chest from the player named "ödül"
        if chance of 5%:
            if chance of 70%:
                give 1 diamond named "&6ELMAAASSS!" to player
                send "&6Elmas Kazandin!" to player
                stop
            else:
                send "&4Hadi be!Hicbir sey Yokmus" to player
                stop
        else:
            if chance of 8%:
                give 1 iron ingot named "&6Demir!" to player
                send "&6 Demir Kazandin!" to player
                stop
            if chance of 8%:
                give 1 gold ingot named "&6Altin!" to player
                send "&6 Altin Kazandin!" to player
                stop
            if chance of 15%:
                give 1 diamond block to player
                send "&6 Dia Block Kazandin!" to player
                stop
            if chance of 20%:
                give 1 steak to player
                send "&6 Et Kazandin!" to player
                stop
    else:
        if player has the permission "Rütbe.oyuncu":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.tecrubeli":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.uzman":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.usta":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.ustad":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.asil":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.soylu":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.kahraman":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.efsanevi":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.profesyonel":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.profesyonel":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
    else:
        if player has the permission "Rütbe.yakHwan":
            remove 1 chest from the player named "ödül"
            if chance of 3%:
                if chance of 50%:
                    give 1 diamond named "&6ELMAAASSS!" to player
                    send "&6WooWWW! Elmas Kazandin!" to player
                    stop
                else:
                    send "&4Hadi be!Hicbir sey Yokmus" to player
                    stop
            else:
                if chance of 5%:
                    give 1 iron ingot named "&6Demir!" to player
                    send "&6 Demir Kazandin!" to player
                    stop
                if chance of 5%:
                    give 1 gold ingot named "&6Altin!" to player
                    send "&6 Altin Kazandin!" to player
                    stop
                if chance of 10%:
                    give 1 steak to player
                    send "&6 Et Kazandin!" to player
                    stop
 
Üst