Skocz do zawartości
  • 0

Skrypt na cobblex


Swierzak

Pytanie

Mogl by ktos mi dokonczyc tego skrypta 

Skrypt :

Spoiler

# Permisja do uzywania komendy: cobblex.info
# Skript by Thardess
options:
    item_po_angielsku1: diamond
    item_po_angielsku2: diamond helmet
    item_po_angielsku3: diamond leggins
    item_po_angielsku4: enchanted golden apple
    item_po_angielsku5: golden apple
    item_po_angielsku6: emerald
    item_po_angielsku7: # I TAK DALEJ.. itemki wpisujesz ktore maja wypadac..
    item_po_angielsku8
    item_po_angielsku9
    item_po_angielsku10
    item_po_angielsku11
    item_po_angielsku12
    item_po_angielsku11
    item_po_angielsku12
command /cobblex:
    description: "&6Drop z cobblex'a"
    usage: "/cobblex"
    permission: "cobblex.info"
    permission message: "&cNie masz uprawnień do tej komendy!"
    trigger:
        send "&6Otworzyles gui z dropem od cobblexa!"
        open chest with 2 rows named "&8###### &6DROP Z COBBLEX &8######" to player
        wait 2 ticks
        format slot 0 of player with 1 of {item_po_angielsku1} " " to be unstealable
        format slot 1 of player with 1 of {item_po_angielsku2} " " to be unstealable
        format slot 2 of player with 1 of {item_po_angielsku3} " " to be unstealable
        format slot 3 of player with 1 of {item_po_angielsku4} " " to be unstealable
        format slot 4 of player with 1 of {item_po_angielsku5} " " to be unstealable
        format slot 5 of player with 1 of {item_po_angielsku6} " " to be unstealable
        format slot 6 of player with 1 of {item_po_angielsku7} " " to be unstealable
        format slot 7 of player with 1 of {item_po_angielsku8} " " to be unstealable
        format slot 8 of player with 1 of {item_po_angielsku9} " " to be unstealable
        format slot 9 of player with 1 of {item_po_angielsku10} " " to be unstealable
        format slot 10 of player with 1 of {item_po_angielsku11} " " to be unstealable
        format slot 11 of player with 1 of {item_po_angielsku12} " " to be unstealable
        format slot 12 of player with 1 of {item_po_angielsku13} " " to be unstealable
        format slot 13 of player with 1 of {item_po_angielsku14} " " to be unstealable

 

 

Drop ma byc taki :

Luk (Czysty)
Miecz 5/2 
set 4/3 ( 1 cobblex 1 czesc np : 1 cobblex - klata 4/3 )
2 koxy 
4 refy 
Palka blaze 
brodawki
kulka szlamu
8 blokow zlota/szmaragdu/zelaza/diamentu
16 jablek
16 strzal
2 trzciny 
2x oko pajaka
64 ksiarzki 
1 arbuz
32 tnt
3 ender_pearl
5 glowstone

//Skrypt w spojler, poprawiam tytuł ~Ixidi

Edytowane przez Ixidi
Odnośnik do komentarza
https://skript.pl/temat/15914-skrypt-na-cobblex/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

# Permisja do uzywania komendy: cobblex.info
# Skript by Thardess
options:
    item_po_angielsku1: 1 bow
    item_po_angielsku2: 1 diamond sword of sharpness 5 and fire aspect 2
    item_po_angielsku3: 1 enchanted golden apple
    item_po_angielsku4: 4 golden apple
    item_po_angielsku5: 1 blaze rod
    item_po_angielsku6: 1 nether wart
    item_po_angielsku7: 1 slimeball
    item_po_angielsku8:    8 gold block
    item_po_angielsku9: 16 apple
    item_po_angielsku10: 16 arrow
    item_po_angielsku11: 2 sugar cane
    item_po_angielsku12: 2 Spider Eye
    item_po_angielsku13: 64 book
    item_po_angielsku14: 1 melon
    item_po_angielsku15: 32 tnt
    item_po_angielsku16: 1 ender pearl
    item_po_angielsku17: 5 glowstone
    szansa1: 10
    szansa2: 20
    szansa3: 10
    szansa4: 10
    szansa5: 10
    szansa6: 10
    szansa7: 10
    szansa8: 10
    szansa9: 10
    szansa10: 10
    szansa11: 10
    szansa12: 10
    szansa13: 10
    szansa14: 10
    szansa15: 10
    szansa16: 10
    szansa17: 10
command /cobblex:
    description: "&6Drop z cobblex'a"
    usage: "/cobblex"
    permission: "cobblex.info"
    permission message: "&cNie masz uprawnień do tej komendy!"
    trigger:
        send "&6Otworzyles gui z dropem od cobblexa!"
        open chest with 2 rows named "&8###### &6DROP Z COBBLEX &8######" to player
        wait 1 tick
        format slot 0 of player with {@item_po_angielsku1} named "&bLuk {@szansa1}%%" to be unstealable
        format slot 1 of player with {@item_po_angielsku2} named "&bMiecz 5/2 {@szansa2}%%" to be unstealable
        format slot 2 of player with {@item_po_angielsku3} named "&bKox {@szansa3}%%" to be unstealable
        format slot 3 of player with {@item_po_angielsku4} named "&b4 Relife {@szansa4}%%" to be unstealable
        format slot 4 of player with {@item_po_angielsku5} named "&bBlaze rod {@szansa5}%%" to be unstealable
        format slot 5 of player with {@item_po_angielsku6} named "&bBrodawka {@szansa6}%%" to be unstealable
        format slot 6 of player with {@item_po_angielsku7} named "&bslimeball {@szansa7}%%" to be unstealable
        format slot 7 of player with {@item_po_angielsku8} named "&b8 Gold/Iron/Diamond/Emerald bkloków {@szansa8}%%" to be unstealable
        format slot 8 of player with {@item_po_angielsku9} named "&b16 Jabłek {@szansa9}%%" to be unstealable
        format slot 9 of player with {@item_po_angielsku10} named "&b16 Strzał {@szansa10}%%" to be unstealable
        format slot 10 of player with {@item_po_angielsku11} named "&b2 Trzciny {@szansa11}%%" to be unstealable
        format slot 11 of player with {@item_po_angielsku12} named "&b2 Oka pająka {@szansa12}%%" to be unstealable
        format slot 12 of player with {@item_po_angielsku13} named "&b&b64 książki {@szansa13}%%" to be unstealable
        format slot 13 of player with {@item_po_angielsku14} named "&bArbuz {@szansa14}%%" to be unstealable
        format slot 14 of player with {@item_po_angielsku15} named "&b32 TNT {@szansa15}%%" to be unstealable
        format slot 15 of player with {@item_po_angielsku16} named "&bPerła {@szansa16}%%" to be unstealable
        format slot 16 of player with {@item_po_angielsku17} named "&b5 Glowstone {@szansa17}%%" to be unstealable

dla ładniejszego wyglądu gui można dodać

every 1 second:
    loop all players:
        if inventory name of loop-player's current inventory is "&8###### &6DROP Z COBBLEX &8######" :
            if slot 7 of loop-player's current inventory is 8 gold block:
                format slot 7 of loop-player with 8 iron block named "&b8 Gold/Iron/Diamond/Emerald bkloków {@szansa8}%%" to be unstealable
                stop
            if slot 7 of loop-player's current inventory is 8 iron block:
                format slot 7 of loop-player with 8 diamond block named "&b8 Gold/Iron/Diamond/Emerald bkloków {@szansa8}%%" to be unstealable
                stop
            if slot 7 of loop-player's current inventory is 8 diamond block:
                format slot 7 of loop-player with 8 emerald block named "&b8 Gold/Iron/Diamond/Emerald bkloków {@szansa8}%%" to be unstealable
                stop
            if slot 7 of loop-player's current inventory is 8 emerald block:
                format slot 7 of loop-player with 8 gold block named "&b8 Gold/Iron/Diamond/Emerald bkloków {@szansa8}%%" to be unstealable
                stop

 

prosze jeśli chodzi ci aby jeszcze dodatkowo dać same cobbleX to napisz :) licze na + za pomoc

//Spoiler ~Ixidi

Edytowane przez kaol48s
Odnośnik do komentarza
https://skript.pl/temat/15914-skrypt-na-cobblex/#findComment-111187
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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