Skocz do zawartości
  • 0

Dorobi mi ktoś ;)?


Pytanie

Dorobił by mi ktoś topke PLNÓW do mojego skryptu?

 

kod: 

on first join:
    set {PLN::%player%} to 0
options:
    tag:&8[&2&lSklep&8]
    tagI:&8[&a&lKup&8]
    tagII:&8[&c&lSprzedaj&8]
command /sklep:
    trigger:
        wait 0.1 seconds
        open chest with 1 rows named "                 {@tag}" to player
        wait 0.1 seconds
        format slot 0 of player with 1 of light green wool named "&akup" to close then run [execute player command "(kup)"]
        format slot 1 of player with 1 of red wool named "&cSprzedaj" to close then run [execute player command "(sell)"]
        format slot 7 of player with 1 of book named "&9TOP 10 Bogaczy" with lore "np 1.SNIPER ma 1000 PLN" to close
        format slot 8 of player with 1 of gold nugget named "&6&lKONTO" with lore "&2Posiadasz:%{PLN::%player%}% PLN" to close
command /(kup) [<text>]:
    trigger:
        if arg 1 is not set:
            wait 0.2 seconds
            open chest with 3 rows named "             {@tagI}" to player
            format slot 0 of player with 1 of diamond helmet of protection 4 and unbreaking 3 named "&bHełm 4/3" to run [execute player command "(kup) bania"]
            format slot 1 of player with 1 of diamond chestplate of protection 4 and unbreaking 3 named "&bKlata 4/3" to run [execute player command "(kup) klata"]
            format slot 2 of player with 1 of diamond leggings of protection 4 and unbreaking 3 named "&bSpodnie 4/3" to run [execute player command "(kup) spodnie"]
            format slot 3 of player with 1 of diamond boots of protection 4 and unbreaking 3 named "&bButy 4/3" to run [execute player command "(kup) buty"]
            format slot 4 of player with 1 of diamond sword of sharpness 5 and fire aspect 2 named "&cMiecz 5/2" to run [execute player command "(kup) 5/2"]
            format slot 5 of player with 1 of diamond sword of knockback 2 named "&3Knock 2" to run [execute player command "(kup) knock"]
            format slot 6 of player with 1 of bow of power 5 and flame 1 and infinity 1 named "&cDMG 5/1/1" to run [execute player command "(kup) DMG"]
            format slot 7 of player with 1 of bow of punch 2 and infinity 1 named "&3Punch 2/1" to run [execute player command "(kup) Punch"]
            format slot 8 of player with 1 of diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 named "&65/3/3" to run [execute player command "(kup) 5/3/3"]
        if arg 1 is set:
            if arg 1 is "bania":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond helmet of protection 4 and unbreaking 3 named "&bHełm 4/3" to player
                    send "&8[&2&lSklep&8]»&7Kupiles &bHełm 4/3" to player
            if arg 1 is "klata":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond chestplate of protection 4 and unbreaking 3 named "&bKlata 4/3" to player
                    send "&8[&2&lSklep&8]»&7Kupiles &bKlata 4/3" to player
            if arg 1 is "spodnie":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond leggings of protection 4 and unbreaking 3 named "&bSpodnie 4/3" to player
                    send "&8[&2&lSklep&8]»&7Kupiles &bspodnie 4/3" to player
            if arg 1 is "buty":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond boots of protection 4 and unbreaking 3 named "&bButy 4/3" to player
                    send "&8[&2&lSklep&8]»&7Kupiles &bbuty 4/3" to player
            if arg 1 is "5/2":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond sword of sharpness 5 and fire aspect 2 named "&cMiecz 5/2" to player
                    send "&8[&2&lSklep&8]»&7Kupiles &cMiecz 5/2" to player
            if arg 1 is "knock":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond sword of knockback 2 named "&3Knock 2" to player
                    send "&8[&2&lSklep&8]»&7Kupiles miecz &3Knock 2" to player
            if arg 1 is "DMG":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 bow of power 5 and flame 1 and infinity 1 named "&cDMG 5/1/1" to player
                    send "&8[&2&lSklep&8]»&7Kupiles łuk &cDMG 5/1/1" to player
            if arg 1 is "Punch":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 bow of punch 2 and infinity 1 named "&3Punch 2/1" to player
                    send "&8[&2&lSklep&8]»&7Kupiles łuk &3Punch 2/1" to player
            if arg 1 is "5/3/3":
                if {PLN::%player%} > 0.20:
                    remove 0.20 from {PLN::%player%}
                    give 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 named "&65/3/3" to player
                    send "&8[&2&lSklep&8]»&7Kupiles kilof &65/3/3" to player
            
            
            
            
command /skleptest:
    trigger:
        add 10000 to {PLN::%player%}

 

Odnośnik do komentarza
https://skript.pl/temat/34142-dorobi-mi-kto%C5%9B/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

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ę...