Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on click:
  2. if name of tool of player is "&7[&aArena&7]":
  3. open virtual hopper named "&7[&aKit Selector&7]" to player
  4. format slot 2 of player with iron sword named "&aWarrior" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/warrior_*&*_12398"]
  5. if {kills.%uuid of player%} is more than or equal to 25:
  6. format slot 0 of player with bow named "&aArcher" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/archer_*&*_12398"]
  7. else:
  8. format slot 0 of player with bow named "&aArcher" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c25" to close then run [execute player command "/locked_*&*_12398"]
  9. if {kills.%uuid of player%} is more than or equal to 100:
  10. format slot 1 of player with blaze powder named "&aPyro" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/pyro_*&*_12398"]
  11. else:
  12. format slot 1 of player with blaze powder named "&aPyro" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c100" to close then run [execute player command "/locked_*&*_12398"]
  13. if {kills.%uuid of player%} is more than or equal to 250:
  14. format slot 3 of player with feather named "&aFlash" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/flash_*&*_12398"]
  15. else:
  16. format slot 3 of player with feather named "&aFlash" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c200" to close then run [execute player command "/locked_*&*_12398"]
  17. if {kills.%uuid of player%} is more than or equal to 50:
  18. format slot 4 of player with iron chestplate named "&aTank" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/tank_*&*_12398"]
  19. else:
  20. format slot 4 of player with iron chestplate named "&aTank" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c50" to close then run [execute player command "/locked_*&*_12398"]
  21.  
  22. on death of player:
  23. clear drops
  24. clear victim's inventory
  25. force the victim to respawn
  26. set current hotbar slot of player to 4
  27. set action bar of attacker to "{@kitpvp} &fYou killed %{color.%victim%}%%victim%&f."
  28. set action bar of victim to "{@kitpvp} &fYou were killed by %{color.%attacker%}%%attacker%&f."
  29. play "ORB_PICKUP" to attacker at volume 10
  30. play "ZOMBIE_DEATH" to victim at volume 10
  31. apply regeneration 4 to the attacker for 3 seconds
  32. add 1 to {kills.%uuid of attacker%}
  33. add 1 to {deaths.%uuid of victim%}
  34. add 1 to {killstreak.%uuid of attacker%}
  35. set {killstreak.%uuid of victim%} to 0
  36. make attacker execute command "/sb"
  37. set the death message to ""
  38. if {killstreak.%attacker%} is equal to 5:
  39. loop all players:
  40. set action bar of loop-player to "{@kitpvp} %{color.%attacker%}%%attacker% &fis on a &75 &fkillstreak!"
  41.  
  42. on respawn:
  43. teleport player to {spawn}
  44. wait 1 tick
  45. set slot 3 of player to unbreakable stone sword named "&7[&aArena&7]"
  46. set slot 5 of player to paper named "&7[&aDuels&7]"
  47. make player execute command "/sb"
  48.  
  49. command /locked_*&*_12398:
  50. permission: rank.dev
  51. trigger:
  52. set action bar of player to "&cGet more kills and try again."
  53.  
  54. command /archer_*&*_12398:
  55. permission: rank.dev
  56. trigger:
  57. clear player's inventory
  58. set slot 0 of player to unbreakable wood sword named "&7[&aSword&7]"
  59. set slot 1 of player to unbreakable bow named "&7[&aBow&7]"
  60. set slot 8 of player to 64 arrows named "&7[&aArrows&7]"
  61. equip player with unbreakable chain boots named "&7[&aBoots&7]"
  62. equip player with unbreakable chain leggings named "&7[&aLeggings&7]"
  63. equip player with unbreakable chain chestplate named "&7[&aChestplate&7]"
  64. equip player with unbreakable chain helmet named "&7[&aHelmet&7]"
  65. execute player command "/rtp_*&*_12398"
  66.  
  67. command /pyro_*&*_12398:
  68. trigger:
  69. clear player's inventory
  70. set slot 0 of player to unbreakable iron sword named "&7[&aSword&7]"
  71. enchant the player's tool with fire aspect 1
  72. set slot 8 of player to a flint and steel named "&7[&aFnS&7]"
  73. equip player with unbreakable gold boots named "&7[&aBoots&7]"
  74. equip player with unbreakable gold leggings named "&7[&aLeggings&7]"
  75. equip player with unbreakable gold chestplate named "&7[&aChestplate&7]"
  76. equip player with unbreakable gold helmet named "&7[&aHelmet&7]"
  77. execute player command "/rtp_*&*_12398"
  78.  
  79. command /warrior_*&*_12398:
  80. trigger:
  81. clear player's inventory
  82. set slot 0 of player to unbreakable iron sword named "&7[&aSword&7]"
  83. equip player with unbreakable iron boots named "&7[&aBoots&7]"
  84. equip player with unbreakable iron leggings named "&7[&aLeggings&7]"
  85. equip player with unbreakable iron chestplate named "&7[&aChestplate&7]"
  86. equip player with unbreakable iron helmet named "&7[&aHelmet&7]"
  87. execute player command "/rtp_*&*_12398"
  88.  
  89. command /flash_*&*_12398:
  90. trigger:
  91. clear player's inventory
  92. apply swiftness 3 to the player
  93. set slot 0 of player to unbreakable diamond sword named "&7[&aSword&7]"
  94. equip player with unbreakable leather boots named "&7[&aBoots&7]"
  95. equip player with unbreakable leather leggings named "&7[&aLeggings&7]"
  96. equip player with unbreakable leather chestplate named "&7[&aChestplate&7]"
  97. equip player with unbreakable leather helmet named "&7[&aHelmet&7]"
  98. execute player command "/rtp_*&*_12398"
  99.  
  100. command /tank_*&*_12398:
  101. trigger:
  102. clear player's inventory
  103. set slot 0 of player to unbreakable wooden sword named "&7[&aSword&7]"
  104. equip player with unbreakable diamond boots named "&7[&aBoots&7]"
  105. equip player with unbreakable diamond leggings named "&7[&aLeggings&7]"
  106. equip player with unbreakable diamond chestplate named "&7[&aChestplate&7]"
  107. equip player with unbreakable diamond helmet named "&7[&aHelmet&7]"
  108. execute player command "/rtp_*&*_12398"
  109.  
  110. command /rtp_*&*_12398:
  111. trigger:
  112. set {_rtp} to random object out of {loc::*}
  113. teleport player to {%{_rtp}%}
  114. set current hotbar slot of player to 0
  115. set action bar of player to "{@kitpvp} &fGOOD LUCK!"
  116. play "ENDERMAN_TELEPORT" to player at volume 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement