Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on script load:
- register new shapeless recipe for 15 nether star named "&4Striker &6Lighting" using emerald, emerald, emerald, nether star, diamond, nether star, emerald, emerald, emerald
- register new shapeless recipe for diamond named "&aJumper" using ender pearl, ender pearl, ender pearl, ender pearl, diamond, ender pearl, ender pearl, ender pearl, ender pearl
- register new shapeless recipe for 5 snowball named "&bExplo &aSnieg" using 2 tnt, 2 tnt, 2 tnt, 2 tnt, snowball, 2 tnt, 2 tnt, 2 tnt, 2 tnt
- variables:
- {legenda.%player%} = 15
- {patricle.%player%} = false
- {lp.%player%} = false
- {lp2.%player%} = false
- {strzelenie.%player%} = false
- on rightclick holding a nether star:
- if name of player's tool is "&4Striker &6Lighting":
- remove 1 nether star named "&4Striker &6Lighting" from player
- set {_center} to location of the player
- strike lightning 2 meter north of {_center}
- strike lightning 3 meter north of {_center}
- strike lightning 2 meter west of {_center}
- strike lightning 3 meter west of {_center}
- strike lightning 2 meter east of {_center}
- strike lightning 3 meter east of {_center}
- strike lightning 2 meter south of {_center}
- strike lightning 3 meter south of {_center}
- strike lightning 2 meter north west of {_center}
- strike lightning 2 meter north east of {_center}
- strike lightning 2 meter south west of {_center}
- strike lightning 2 meter south east of {_center}
- on rightclick holding a diamond:
- if name of player's tool is "&aJumper":
- shoot a ender pearl with speed 0.2
- spawn 120 of particle happy villager offset by 1, 1, 1 at location of player
- on death of ender dragon:
- if attacker is a player:
- drop 1 stick named "&aDragon&bBall" with lore "Zawiera Mistyczna Moca Pochadzaca z szostego wymiaru" at victim
- on death of creeper or zombie or skeleton or spider or cave spider or enderman or zombie pigman:
- if attacker is a player:
- chance of 20%:
- drop 1 paper named "&bArtefak" at victim
- chance of 10%:
- drop 1 blaze rod named "&4Arcy &bTrzon" at victim
- stop
- on rightclick holding a blaze rod:
- if name of player's tool is "&4Arcy &bTrzon":
- player has 9 paper named "&bArtefak":
- player has 2 blaze rod named "&4Arcy &bTrzon":
- remove 9 paper named "&bArtefak" from player
- remove 2 blaze rod named "&4Arcy &bTrzon" from player
- spawn 15 of particle happy villager offset by 1, 1, 1 at location of player
- spawn 15 of particle explode offset by 1, 1, 1 at location of player
- broadcast "&a%player% &6Stworzyl &aLegende"
- add 1 blaze rod named "&aLegenda" to player's inventory
- else:
- send "&bTo Wymaga Artefaktu x9 i Arcy Trzonu x2 &aOtrzymasz to potowrkow" to player
- else:
- if name of player's tool is "&aLegenda":
- if {legenda.%player%} is less than 1:
- remove 1 blaze rod named "&aLegenda" from player
- set {legenda.%player%} to 15
- loop 10 times:
- send " " to player
- send "&cCzyszcze chat..." to player
- else:
- set {_center} to location of the player
- set the block 2 meter north of {_center} to fire
- set the block 2 meter west of {_center} to fire
- set the block 2 meter east of {_center} to fire
- set the block 2 meter south of {_center} to fire
- set the block 2 meter north west of {_center} to fire
- set the block 2 meter north east of {_center} to fire
- set the block 2 meter south west of {_center} to fire
- set the block 2 meter south east of {_center} to fire
- push the player upward at speed 2
- push the player horizontally forward at speed 4
- send "&b%{legenda.%player%}%/15" to player
- set {patricle.%player%} to true
- remove 1 from {legenda.%player%}
- stop
- on any move:
- if {patricle.%player%} is true:
- spawn 25 of particle happy villager offset by 3, 2, 3 at location of player
- spawn 25 of particle explode offset by 3, 2, 3 at location of player
- spawn 75 of particle flame offset by 3, 2, 3 at location of player
- if {lp.%player%} is true:
- spawn 5 of particle flame offset by 1, 1, 1 at location of player
- on damage:
- {patricle.%victim%} is true:
- damage cause is fall:
- set {patricle.%victim%} to false
- cancel event
- on join:
- if {legenda.%player%} is less than 1:
- set {legenda.%player%} to 15
- if {patricle.%player%} is true:
- set {patricle.%player%} to false
- on leftclick holding a blaze rod:
- if name of player's tool is "&aLegenda":
- if distance between the target block and player is less than 7:
- make the player shoot a giant with speed 0.4
- remove 1 blaze rod named "&aLegenda" from player
- broadcast "&a%player% Chce stac sie Legenda"
- on death of giant:
- if attacker is a player:
- broadcast "&6Gracz %attacker% Zostaje Legenda"
- broadcast "&b%attacker% Otrzymuje Ogniste Particlesy"
- set {lp.%attacker%} to true
- set {lp2.%attacker%} to true
- drop 15 diamond at victim
- drop 15 iron ingot at victim
- drop 15 gold ingot at victim
- add 350 exp to attacker
- drop 1 ender chest named "&6PRO &bEquipment" at victim
- chance of 35%:
- drop 5 nether star named "&4Striker &6Lighting" at victim
- chance of 60%:
- drop 17 iron ore at victim
- drop 17 coal ore at victim
- drop 17 gold ore at victim
- chance of 30%:
- drop 1 stone named "&f&m---&aZomboid&f&m---" with lore "Pomocnik Gianta. - Duzy drop" at victim
- stop
- command /legenda [<text>]:
- aliases: /leg
- trigger:
- if arg 1 is not set:
- send "&bJezeli Jestes Legenda" to player
- send "&bA particlesy ognia ci przeszkadzaja" to player
- send "&bKomendy: &6/legenda on/off albo /legenda wlacz/wylacz" to player
- if arg 1 is "pomoc":
- send "&bJezeli Jestes Legenda" to player
- send "&bA particlesy ognia ci przeszkadzaja" to player
- send "&bKomendy: &6/legenda on/off albo /legenda wlacz/wylacz" to player
- if arg 1 is "on" or "wlacz":
- if {lp2.%player%} is true:
- if {lp.%player%} is false:
- set {lp.%player%} to true
- else:
- send "&cTo juz jest wlaczone"
- else:
- send "&cNie Jestes &aLegenda" to player
- if arg 1 is "off" or "wylacz":
- if {lp2.%player%} is true:
- if {lp.%player%} is true:
- set {lp.%player%} to false
- else:
- send "&cTo juz jest wylaczone"
- else:
- send "&cNie Jestes &aLegenda" to player
- on rightclick holding a stick:
- if name of player's tool is "&aDragon&bBall":
- shoot a fireball with speed 1.5
- set {strzelenie.%player%} to true
- send "&bWykonano &6Atak Smoka" to player
- on projectile hit:
- projectile is fireball:
- if {strzelenie.%shooter%} is true:
- set {strzelenie.%shooter%} to false
- loop blocks in radius 4 around the projectile:
- set loop-block to fire
- projectile is snowball:
- if {strzelenie.sniecha.%shooter%} is true:
- set {strzelenie.sniecha.%shooter%} to false
- create an explosion of force 3 at location of projectile
- on rightclick holding a snowball:
- if name of player's tool is "&bExplo &aSnieg":
- shoot a snowball with speed 2.5
- set {strzelenie.sniecha.%player%} to true
- remove 1 snowball named "&bExplo &aSnieg" from player
- on place stone:
- if name of player's tool is "&f&m---&aZomboid&f&m---":
- cancel event
- remove 1 stone named "&f&m---&aZomboid&f&m---" with lore "Pomocnik Gianta. - Duzy drop" from player
- wait second
- spawn 1 zombie at location of player
- set helmet of spawned entity to golden helmet of unbreaking 1000 and protection 5
- set chestplate of spawned entity to golden chestplate of unbreaking 1000 and protection 5
- set leggings of spawned entity to golden leggings of unbreaking 1000 and protection 5
- set boots of spawned entity to golden boots of unbreaking 1000 and protection 5
- apply fire resistance 10 to spawned entity for 999 days
- apply jump boost 3 to spawned entity for 999 days
- apply speed 3 to spawned entity for 999 days
- set the last spawned entity's max health to 100
- heal the last spawned entity
- set tool of spawned entity to gold sword of unbreaking 1000 and sharpness 9
- set the name of spawned entity to "&aZOMBOID"
- stop
- on death of zombie:
- name of victim is "&aZOMBOID":
- clear drops
- chance of 75%:
- drop 10 gold ingot at victim
- drop 10 iron ingot at victim
- drop 10 emerald at victim
- drop 10 stone at victim
- drop 10 cobblestone at victim
- drop 10 diamond at victim
- drop 10 coal at victim
- drop 10 ender pearl at victim
- drop 5 obsidian at victim
- drop 3 tnt at victim
- drop 5 stick at victim
- drop 2 apple at victim
- drop 10 bread at victim
- drop 1 golden apple at victim
- chance of 30%:
- drop 3 Enchanted Golden Apple at victim
- drop 1 diamond sword of sharpness 5, fire aspect 4, knockback 4 at victim
- drop 5 nether star named "&4Striker &6Lighting" at victim
- stop
- on rightclick holding a ender chest:
- if name of player's tool is "&6PRO &bEquipment":
- add 120 exp to player
- remove 1 ender chest named "&6PRO &bEquipment" from player
- chance of 60%:
- add 1 diamond sword of sharpness 13 to player's inventory
- add 1 diamond chestplate of protection 25 to player's inventory
- send "&aNorma" to player
- stop
- chance of 30%:
- add 1 iron sword of sharpness 17 to player's inventory
- add 1 iron chestplate of protection 30 to player's inventory
- send "&bMiniPro" to player
- stop
- chance of 15%:
- add 1 diamond sword of sharpness 13 to player's inventory
- add 1 iron chestplate of protection 30 to player's inventory
- add 1 Golden Leggings of protection 50 to player's inventory
- add 1 Leather Boots of protection 15 to player's inventory
- send "&bMega &a&kaaa &6PRO &a&kaaa" to player
- on place ender chest:
- if name of player's tool is "&6PRO &bEquipment":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment