Skocz do zawartości
  • 0

mhaas12

Pytanie

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
command /pc [<text>] [<integer>]:
    permission: fc.premiumcase
    trigger:
        if arg-1 is not set:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Poprawne uzycie &7/&cpc Nick&7/&cAll &6Ilosc"
        if arg-1 is set:
            if arg-2 is not set:
                broadcast "&8[&f&lPremium&6&lCase&8] &7Poprawne uzycie &7/&cpc Nick&7/&6All &aIlosc"
        if arg-1 is not "all":
            if arg-2 is set:
                loop arg-2 times:
                    execute console command "give %arg 1% chest 1 name:&f&lPremium&6&lCase"
                broadcast "&7Gracz &6%arg 1% &7Zakupil &dx%arg 2% &f&lPremium&6&lCase &7w sklepie: sklep.fi"
        if arg-1 is "all":
            if arg-2 is set:
                loop arg-2 times:
                    loop all players:
                        execute console command "give %loop-player% chest 1 name:&f&lPremium&6&lCase"
                send players title "&6&lFIRE&f&lCORE.EU &7Wszyscy gracze Otrzymali &9x%arg 2% &f&lPremium&6&lCase &7od &6&l%player%"

on place of chest:
    if player's tool is chest named "&f&lPremium&6&lCase":
        add 1 to {tpcc::%player%}
        remove 1 chest named "&f&lPremium&6&lCase" from player
        cancel event
        launch ball firework colored green at player with duration 1
        wait 0.3 seconds
        launch ball firework colored red at player with duration 2
        wait 0.3 seconds
        launch ball firework colored blue at player with duration 3
        wait 0.3 seconds    
        

        chance of 15%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &bMiecz &95/2"
            add 1 diamond sword of sharpness 5 and fire aspect 2 to player
            stop

        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &bHelm &94/3"
            add 1 diamond helmet of unbreaking 3 and protection 4 to player
            stop
        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &bKlate &94/3"
            add 1 diamond chestplate of unbreaking 3 and protection 4 to player
            stop
        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &bSpodnie &94/3"
            add 1 diamond leggings of unbreaking 3 and protection 4 to player
            stop
        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &bButy &94/3"
            add 1 diamond boots of unbreaking 3 and protection 4 to player
            stop
        chance of 1%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &cRzucame TnT"
            add 1 tnt named "&cRzucane TNT" to player
            stop
        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &aBloki Emeraldow &9x64"
            add 64 emerald block to player
            stop
        chance of 5%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &9Ender Perly &9x8"
            add 8 ender pearl to player
            stop
        chance of 15%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &eRefile  &9x10"
            add 10golden apple:0 to player
            stop
        chance of 10%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &6Koxy &9x63"
            add 3 golden apple:1 to player
            stop
        chance of 1%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &dB&be&4a&7c&3o&an&2a &9x1"
            add 1 beacon to player        
            stop        
        chance of 2%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &fKilof &96/3/3"
            add 1 diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 to player
            stop
        chance of 7%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &fMiecz &93/1"
            add 1 iron sword of knockback 3 and unbreaking 1 to player
            stop
        chance of 7%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &fLuk &93/2/1"
            add 1 bow of unbreaking 3 and punch 2 and infinity 1 to player
            stop
        chance of 7%:
            broadcast "&8[&f&lPremium&6&lCase&8] &7Wylosowales: &fLuk &93/1/1"
            add 1 bow of power 5 and unbreaking 3 and flame 1 and infinity 1 to player
            stop

Mm, odpowiedziałbym wcześniej ale dopiero teraz to zobaczyłem. Na drugi raz polecam Notepad++ i opcje do zamieniania wszystkiego ?

Odnośnik do komentarza
https://skript.pl/temat/28652-premiumcase/#findComment-189526
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...