Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &8[&eLucky Block&8]
- command /luckyblock [<text>]:
- trigger:
- if arg 1 is not set:
- send ""
- send ""
- send "&7&m - -"
- send "{@tag} &aInformacje"
- send ""
- send "&6Crafting lucky blocka:"
- send "&e█ █ █"
- send "&e█ &b█ &e█"
- send "&e█ █ █"
- send "&7(Przedmioty nie sa blokami!)"
- send "&e█ &7- Zloto"
- send "&b█ &7- Diament|"
- send "&7&m - -"
- if arg 1 is not "dodaj":
- send "&cPoprawne uzycie: /luckyblock"
- if arg 1 is "dodaj":
- if player don't have permission "luckyblock.gutek":
- send "&cNie masz uprawnien! &7(luckyblock.gutek)"
- else:
- add 1 sponge named "&6&lLucky Block" to player
- on tab completion for "luckyblock":
- add "Autorem" to completions
- add "jest" to completions
- add "xKubson606!" to completions
- add "dodaj" to completions
- on script load:
- register new shaped recipe for a Sponge named "&6&lLucky Block" using gold ingot, gold ingot, gold ingot, gold ingot, diamond, gold ingot, gold ingot, gold ingot, gold ingot
- on break of sponge:
- cancel event
- set block to air
- chance of 10%:
- spawn 5 Sheeps at block
- set the display name of last spawned entity to "&e&lLucky Sheep"
- chance of 4.5%:
- drop 1 diamond sword of Sharpness 5 and Fire Aspect 2 named "&e&lLucky Sword"
- chance of 11.5%:
- drop 1 wooden sword
- drop 1 wooden pickaxe
- drop 1 wooden axe
- drop 1 wooden spade
- chance of 6.5%:
- drop 1 iron sword
- drop 1 iron pickaxe
- drop 1 iron axe
- drop 1 iron spade
- chance of 2.3%:
- drop 1 diamond pickaxe of Efficiency 5 and Unbreaking 3 and Fortune 2 named "&e&lLucky Pickaxe"
- chance of 5.5%:
- spawn 10 Chickens at block
- set the displayname of last spawned entity to "&e&lLucky Chicken"
- chance of 20.4%:
- strike lightning effect at block
- chance of 0.01%:
- drop 1 beacon named "&6&lLucky Beacon" with lore "&dBardzo trudny do zdobycia! Gratulacje!"
- broadcast "{@tag} &cBeacon zostal znaleziony! Gratulujemy!"
- chance of 17%:
- damage player by 4 hearts
- send "{@tag} &6Aww! Nie miales tym razem szczescia!"
- chance of 5%:
- spawn 5 zombies
- set the displayname of last spawned entity to "&6&lLucky Zombie"
- chance of 6%:
- send "{@tag} &aFarciaz!"
- drop 25 diamonds
- drop 5 emeralds
- drop 50 obsidian
- drop 10 bottle o' enchanting
- chance of 10%:
- drop 1 skeleton spawn egg named "&6&lLucky Skeleton"
- chance of 7.8%:
- set block 5 meters above player to anvil
- chance of 1%:
- loop blocks in radius 5:
- loop-block is not bedrock or obsidian or air:
- set loop-blocks to air
- chance of 1%:
- spawn 1 zombie at block
- give diamond chestplate of Protection 4 to last spawned zombie's chestplate
- give diamond leggings of Protection 4 to last spawned zombie's leggings
- give diamond helmet of Protection 4 to last spawned zombie's helmet
- give diamond boots of Protection 4 to last spawned zombie's boots
- set the displayname of last spawned zombie to "&6&lLucky Zombie"
- apply speed 4 to last spawned zombie
- apply strength 4 to last spawned zombie
- send "{@tag} &cUwaga! Ten zombie moze zabic!"
- chance of 5%:
- spawn 1 skeleton at block
- give diamond chestplate of Protection 4 to last spawned skeleton's chestplate
- give diamond leggings of Protection 4 to last spawned skeleton's leggings
- give diamond helmet of Protection 4 to last spawned skeleton's helmet
- give diamond boots of Protection 4 to last spawned skeleton's boots
- set the displayname of last spawned zombie to "&6&lLucky Skeleton"
- apply speed 4 to last spawned skeleton
- apply strength 4 to last spawned skeleton
- send "{@tag} &cUwaga! Ten szkielet jest grozny c;"
- chance of 15%:
- drop 11 tnt or 15 tnt
- chance of 1%:
- set block 10 meters above player to tnt
- set block 11 meters above player to fire
- chance of 4%:
- drop 1 horse spawn egg named "&6&lLucky Horse"
- chance of 3%:
- loop blocks in radius 2:
- loop-blocks is not bedrock or obsidian or air:
- set loop-blocks to lava
- on join:
- display "&6Nowy update &e&lLucky Blokow &6(v2)" on bossbar with 100 percent by 2 seconds for player
- wait 2 seconds
- display "&6Nowy update &e&lLucky Blokow &6(v2)" on bossbar with 75 percent by 2 seconds for player
- wait 2 seconds
- display "&6Nowy update &e&lLucky Blokow &6(v2)" on bossbar with 50 percent by 2 seconds for player
- wait 2 seconds
- display "&6Nowy update &e&lLucky Blokow &6(v2)" on bossbar with 25 percent by 2 seconds for player
- wait 2 seconds
- display "&6Nowy update &e&lLucky Blokow &6(v2)" on bossbar with 0 percent by 2 seconds for player
- on death:
- if entity is wither skeleton:
- chance of 1%:
- drop 1 wither skeleton head
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement