Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Hero1Name: genesis
- Hero1DisplayName: &f&l&nHero:&c&l Genesis Kit
- Hero1DisplayLore: &7Summons a hero equipped with||&7the &c&lGenesis Kit &7equipment.||&0||&7Defeat this hero for a &7&nguaranteed&7||&7drop of the &f/kit item set &7and a||&f&nchance&7 to get a &f/kit Permanately||&7that can be used to &7&nunlock the /kit||&7on your own account for regular use!||&0||&f&lUSE: &7To summon this fallen hero||&fRight Click &7this item inside the warzone.||&0||&c&lWARNING: &7Whoever gets the final hit on the||&7Fallen Hero, will get the rewards. #The lore on the display item
- Hero1Nametag: &c&nGenesis Hero #The overhead nametag of the fallen hero
- Hero2Name: Azerion
- Hero2DisplayName: &f&l&nHero:&r &b&kiiii&f&l&nHEROIC&d&l&kiiii &b&l Azerion Kit
- Hero2DisplayLore: &7Summons a hero equipped with||&7the &b&lAzerion Kit &7equipment.||&0||&7Defeat this hero for a &7&nguaranteed&7||&7drop of the &f/kit item set &7and a||&f&nchance&7 to get a &f/kit Permanately||&7that can be used to &7&nunlock the /kit||&7on your own account for regular use!||&0||&f&lUSE: &7To summon this fallen hero||&fRight Click &7this item inside the warzone.||&0||&c&lWARNING: &7Whoever gets the final hit on the||&7Fallen Hero, will get the rewards. #The lore on the display item
- Hero2Nametag: &b&lAzerion Hero
- #|=-=-=-=-=-=-=-=-=-=-=-=-=|#
- #|# COMMAND |#
- #|=-=-=-=-=-=-=-=-=-=-=-=-=|#
- command /hero <player> [<text>]:
- aliases: /AHero
- permission: Argenta.Hero.*
- trigger:
- set {_player} to arg-1
- if {hero.gui%player%} is true:
- open chest with 1 row named "&bFallen Hero Menu" to player
- format slot 0 of player with a bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}||||&bClick to give 1 &b&n{@Hero1Name}&b Fallen Hero to &b&n%{_player}%&b." to close then run [give {_player} 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}"]
- format slot 1 of player with a bone named "{@Hero2DisplayName}" with lore "{@Hero2DisplayLore}||||&bClick to give 1 &b&n{@Hero2Name}&b Fallen Hero to &b&n%{_player}%&b." to close then run [give {_player} 1 bone named "{@Hero2DisplayName}" with lore "{@Hero2DisplayLore}"]
- else:
- if arg-2 is not set:
- send "&c&l(!) &cPlease specify the type of fallen hero! ({@Hero1Name}, {@Hero2Name}.)"
- else:
- if arg 2 is "{@Hero1Name}":
- give {_player} 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}"
- if arg 2 is "{@Hero2Name}":
- give {_player} 1 bone named "{@Hero2DisplayName}" with lore "{@Hero2DisplayLore}"
- command /listheroes:
- permission: Argenta.Hero.list
- trigger:
- send "&0&l&m==============================="
- send "&b&lFallen Heroes:"
- send "&d* {@Hero1Name}"
- send "&d* {@Hero2Name}"
- send "&0&l&m==============================="
- command /ANHero [<text>] [<player>] [<text>]:
- permission: Argenta.Hero.Give
- permission message: &cBut Why...
- trigger:
- if arg 1 is set:
- if arg 1 is "give":
- if arg 2 is set:
- if arg 3 is set:
- if arg 3 is "{@Hero1Name}":
- add 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}" to arg 2
- on rightclick:
- if player is holding a bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}":
- execute console command "/bc &f%player% has spawned a Hero in a warzone"
- remove 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}" from player
- wait 2 seconds
- spawn 1 Wither Skeleton at player
- set last spawned entity's tool to glowing diamond sword
- enchant the Wither Skeleton's tool with sharpness 3
- equip last spawned entity with glowing diamond helmet
- enchant the Wither Skeleton's helmet with protection 4
- equip last spawned entity with glowing diamond chestplate
- enchant the Wither Skeleton's chestplate with protection 4
- equip last spawned entity with glowing diamond chestplate
- enchant the Wither Skeleton's leggings with protection 4
- equip last spawned entity with glowing diamond boots
- enchant the Wither Skeleton's boots with protection 4
- set the spawned Wither Skeleton's name to "&c&lGenesis"
- set the spawned Wither Skeleton's maximum health to 100
- heal the spawned Wither Skeleton by 100 hearts
- on death of a wither skeleton:
- if name of wither skeleton is "&c&lGenesis":
- attacker is a player
- drop 1 chest at attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement