Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #Procenty
- 1: 10
- 2: 0.5
- 3: 0.1
- 4: 0.1
- 5: 15
- 6: 23
- 7: 50
- #Itemy
- 1i: 1 of apple
- 2i: 2 of golden apple
- 3i: 1 of gold block
- 4i: 1 of ender pearl
- 5i: 5 of log
- 6i: 3 of gold nugget
- #Komunikaty
- 1k: &a 1 &cjablko
- 2k: &a 2 &6zlote jablka!
- 3k: &a 1 &6zloty blok!
- 4k: &a 1 &1ender perle!
- 5k: &a 5 &7sztuk drewna!
- 6k: &a 3 &6samorodki zlota!
- 7exp: &a 500 &bpunktow doswiadczenia
- tag: &aDostales
- #Komenda
- cl: "Zamknij"
- n1: "&cGracz"
- n2: "&6VIP"
- n3: "&3Crafting"
- l1: "Normal DROP"
- l2: "Extra DROP"
- c1: "coblex 0001gracz"
- c2: "coblex 0010craft"
- c3: "coblex 0011vip"
- ch1: " &f>>>&e&l INFO CobbleX &f<<<"
- ch2: " &f>>>&e&1DROP &cGracza &f<<<"
- command /cobblex <text>:
- usage: /cobblex menu
- trigger:
- if argument 1 is "menu":
- open chest with 1 rows named {@ch1} to player
- wait 1 tick
- format slot 0 of player with 1 doors named "&a&l>> &4&lClose! &a&l<<" to close
- format slot 2 of player with 1 of iron bar named {@n1} with lore {@l1} to close then run {@c1}
- format slot 4 of player with 1 of crafting table named {@n3} to close then run {@c2}
- format slot 6 of player with 1 of gold bar named {@n2} with lore {@l2} to close then run {@c3}
- format slot 0 of player with 1 doors named "&a&l>> &4&lClose! &a&l<<" to close
- if argument 1 is "0001gracz":
- open chest with 1 rows named {@ch2} to player
- wait 1 tick
- format slot 0 of player with 1 apple named {@1k} with lore "Szansa" {@2}"%" to close
- format slot 2 of player with 2 of golden apple named {@2k} with lore "Szansa" {@2}"%" to be unstealable
- format slot 3 of player with 1 of gold block named {@3k} with lore "Szansa" {@3}"%" to be unstealable
- format slot 4 of player with 1 of ender pearl named {@4k} with lore "Szansa" {@4}"%" to be unstealable
- format slot 5 of player with 5 of log named {@5k} with lore "Szansa" {@5}"%" to be unstealable
- format slot 6 of player with 3 of gold nugget named {@6k} with lore "Szansa" {@6}"%" to be unstealable
- format slot 7 of player with 1 of exp bottle named {@7exp} with lore "Szansa" {@7}"%" to be unstealable
- on skript load:
- new Recipe "1";
- "1".Recipe.registerIngredient{1, 64 cobblestone};
- "1".Recipe.registerIngredient{2, 64 cobblestone};
- "1".Recipe.registerIngredient{3, 64 cobblestone};
- "1".Recipe.registerIngredient{4, 64 cobblestone};
- "1".Recipe.registerIngredient{5, 64 cobblestone};
- "1".Recipe.registerIngredient{6, 64 cobblestone};
- "1".Recipe.registerIngredient{7, 64 cobblestone};
- "1".Recipe.registerIngredient{8, 64 cobblestone};
- "1".Recipe.registerIngredient{9, 64 cobblestone};
- "1".Recipe.registerResult{wolf spawn egg named "&bCobbleX" with lore "Zobaczymy co jest w srodku"}
- "1".Recipe.register{};
- on rightclick holding wolf spawn egg:
- chance of {@1}%:
- give player {@1i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@1k}"
- set {kolejka} to 1
- wait 1 tick
- if {kolejka} is 0:
- chance of {@2}%:
- give player {@2i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@2k}"
- set {kolejka} to 1
- wait 1 tick
- if {kolejka} is 0:
- chance of {@3}%:
- give player {@3i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@3k}"
- set {kolejka} to 1
- wait 1 tick
- if {kolejka} is 0:
- chance of {@4}%:
- give player {@4i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@4k}"
- set {kolejka} to 1
- wait 1 tick
- if {kolejka} is 0:
- chance of {@5}%:
- give player {@5i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@5k}"
- set {kolejka} to 1
- wait 1 tick
- if {kolejka} is 0:
- chance of {@6}%:
- give player {@6i}
- remove 1 wolf spawn egg from player
- send "{@tag}{@6k}"
- wait 1 tick
- if {kolejka} is 0:
- chance of {@7}%:
- execute server command "exp 500 player"
- remove 1 wolf spawn egg from player
- send "{@tag}{@7exp}"
- wait 1 tick
- set {kolejka} to 0
- stop
Advertisement
Add Comment
Please, Sign In to add comment