Advertisement
Guest User

Hero.sk

a guest
Jan 22nd, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     Hero1Name: genesis
  3.     Hero1DisplayName: &f&l&nHero:&c&l Genesis Kit
  4.     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
  5.     Hero1Nametag: &c&nGenesis Hero #The overhead nametag of the fallen hero
  6.    
  7.     Hero2Name: Azerion
  8.     Hero2DisplayName: &f&l&nHero:&r &b&kiiii&f&l&nHEROIC&d&l&kiiii &b&l Azerion Kit
  9.     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
  10.     Hero2Nametag: &b&lAzerion Hero
  11.    
  12. #|=-=-=-=-=-=-=-=-=-=-=-=-=|#
  13. #|#       COMMAND          |#
  14. #|=-=-=-=-=-=-=-=-=-=-=-=-=|#
  15.  
  16. command /hero <player> [<text>]:
  17.     aliases: /AHero
  18.     permission: Argenta.Hero.*
  19.     trigger:
  20.         set {_player} to arg-1
  21.         if {hero.gui%player%} is true:
  22.             open chest with 1 row named "&bFallen Hero Menu" to player
  23.             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}"]
  24.             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}"]
  25.         else:
  26.             if arg-2 is not set:
  27.                 send "&c&l(!) &cPlease specify the type of fallen hero! ({@Hero1Name}, {@Hero2Name}.)"
  28.             else:
  29.                 if arg 2 is "{@Hero1Name}":
  30.                     give {_player} 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}"
  31.                 if arg 2 is "{@Hero2Name}":
  32.                     give {_player} 1 bone named "{@Hero2DisplayName}" with lore "{@Hero2DisplayLore}"
  33.                    
  34. command /listheroes:
  35.     permission: Argenta.Hero.list
  36.     trigger:
  37.         send "&0&l&m==============================="
  38.         send "&b&lFallen Heroes:"
  39.         send "&d* {@Hero1Name}"
  40.         send "&d* {@Hero2Name}"
  41.         send "&0&l&m==============================="
  42.        
  43. command /ANHero [<text>] [<player>] [<text>]:  
  44.     permission: Argenta.Hero.Give
  45.     permission message: &cBut Why...
  46.     trigger:
  47.         if arg 1 is set:
  48.             if arg 1 is "give":
  49.                 if arg 2 is set:
  50.                     if arg 3 is set:
  51.                         if arg 3 is "{@Hero1Name}":
  52.                         add 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}" to arg 2
  53.                        
  54. on rightclick:
  55.     if player is holding a bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}":
  56.         execute console command "/bc &f%player% has spawned a Hero in a warzone"
  57.         remove 1 bone named "{@Hero1DisplayName}" with lore "{@Hero1DisplayLore}" from player
  58.         wait 2 seconds
  59.         spawn 1 Wither Skeleton at player
  60.         set last spawned entity's tool to glowing diamond sword
  61.         enchant the Wither Skeleton's tool with sharpness 3
  62.         equip last spawned entity with glowing diamond helmet
  63.         enchant the Wither Skeleton's helmet with protection 4
  64.         equip last spawned entity with glowing diamond chestplate
  65.         enchant the Wither Skeleton's chestplate with protection 4
  66.         equip last spawned entity with glowing diamond chestplate
  67.         enchant the Wither Skeleton's leggings with protection 4
  68.         equip last spawned entity with glowing diamond boots
  69.         enchant the Wither Skeleton's boots with protection 4
  70.         set the spawned Wither Skeleton's name to "&c&lGenesis"
  71.         set the spawned Wither Skeleton's maximum health to 100
  72.         heal the spawned Wither Skeleton by 100 hearts
  73.  
  74. on death of a wither skeleton:
  75.     if name of wither skeleton is "&c&lGenesis":
  76.         attacker is a player
  77.         drop 1 chest at attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement