Advertisement
Cool_Colton

Kill me pls

Aug 12th, 2020
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.32 KB | None | 0 0
  1. on join:
  2. set metadata tag "1 life armor" of player to chest inventory with 4 rows named "&b1 Life &aArmor"
  3. set slot (integers from 10 to 25) of metadata tag "1 life armor" of player to light gray stained glass pane named " "
  4. set slot 17, and 18 of metadata tag "1 life armor" of player to black stained glass pane named " "
  5. set slot (integers from 0 to 9) of metadata tag "1 life armor" of player to black stained glass pane named " "
  6. set slot (integers from 26 to 36) of metadata tag "1 life armor" of player to black stained glass pane named " "
  7. set metadata tag "1 life sword" of player to chest inventory with 3 rows named "&b1 Life &aSwords"
  8. set slot (integers from 10 to 16) of metadata tag "1 life sword" of player to light gray stained glass pane named " "
  9. set slot (integers from 0 to 9) of metadata tag "1 life sword" of player to black stained glass pane named " "
  10. set slot (integers from 17 to 27) of metadata tag "1 life sword" of player to black stained glass pane named " "
  11. set metadata tag "Shop" of player to chest inventory with 5 rows named "&7Shop"
  12. set metadata tag "Armor" of player to chest inventory with 5 rows named "&aArmor Shop"
  13. set metadata tag "Perm Armor" of player to chest inventory with 5 rows named "&7Permanent Armor"
  14. set metadata tag "Sword" of player to chest inventory with 5 rows named "&aSword Shop"
  15. set metadata tag "Misc" of player to chest inventory with 5 rows named "&aMisc Shop"
  16. set slot 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 24, 25, 28, 29, 30, 31, 32, 33, and 34 of metadata tag "Shop" of player to light gray stained glass pane named " "
  17. set slot 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 24, 25, 28, 29, 30, 31, 32, 33, and 34 of metadata tag "Armor" of player to light gray stained glass pane named " "
  18. set slot 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 24, 25, 28, 29, 30, 31, 32, 33, and 34 of metadata tag "Perm Armor" of player to light gray stained glass pane named " "
  19. set slot 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, and 34 of metadata tag "Sword" of player to light gray stained glass pane named " "
  20. set slot 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, and 34 of metadata tag "Misc" of player to light gray stained glass pane named " "
  21. set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, and 44 of metadata tag "Shop" of player to black stained glass pane named " "
  22. set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, and 44 of metadata tag "Armor" of player to black stained glass pane named " "
  23. set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, and 44 of metadata tag "Perm Armor" of player to black stained glass pane named " "
  24. set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, and 44 of metadata tag "Sword" of player to black stained glass pane named " "
  25. set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, and 44 of metadata tag "Misc" of player to black stained glass pane named " "
  26.  
  27. # Main Shop
  28.  
  29. set slot 20 of metadata tag "Shop" of player to diamond chestplate named "&aArmor"
  30. set slot 22 of metadata tag "Shop" of player to diamond sword named "&bSwords"
  31. set slot 24 of metadata tag "Shop" of player to ender pearl named "&3Misc"
  32.  
  33. # Armor
  34.  
  35. set slot 21 of metadata tag "Armor" of player to diamond chestplate named "&41 life &aArmor"
  36. set slot 23 of metadata tag "Armor" of player to diamond chestplate named "&3Permanent &aArmor"
  37.  
  38. set {b} to iron chestplate
  39. enchant {b} with protection 1
  40. set slot 11 of metadata tag "1 life armor" of player to {b} named "&4Protection &b1 &fIron chestplate"
  41. set slot 13 of metadata tag "1 life armor" of player to {b} named "&4Protection &b2 &fIron chestplate"
  42. set slot 15 of metadata tag "1 life armor" of player to {b} named "&4Protection &b3 &fIron chestplate"
  43. set {d} to diamond chestplate
  44. enchant {d} with protection 1
  45. set slot 21 of metadata tag "1 life armor" of player to {d} named "&4Protection &b1 &3Diamond chestplate"
  46. set slot 23 of metadata tag "1 life armor" of player to {d} named "&4Protection &b2 &3Diamond chestplate"
  47.  
  48. set {cq} to iron helmet
  49. enchant {cq} with protection 1
  50. set slot 11 of metadata tag "Perm Armor" of player to {cq} named "&4Protection &b1 &fIron Helmet &7(300)"
  51. set slot 12 of metadata tag "Perm Armor" of player to {cq} named "&4Protection &b2 &fIron Helmet &7(600)"
  52. set slot 13 of metadata tag "Perm Armor" of player to {cq} named "&4Protection &b3 &fIron Helmet &7(1000)"
  53. set {dq} to diamond helmet
  54. enchant {dq} with protection 1
  55. set slot 14 of metadata tag "Perm Armor" of player to {dq} named "&4Protection &b1 &3Diamond Helmet &7(1250)"
  56. set slot 15 of metadata tag "Perm Armor" of player to {dq} named "&4Protection &b2 &3Diamond Helmet &7(1750)"
  57.  
  58. set slot 20 of metadata tag "Perm Armor" of player to {b} named "&4Protection &b1 &fIron Chestplate &7(500)"
  59. set slot 21 of metadata tag "Perm Armor" of player to {b} named "&4Protection &b2 &fIron Chestplate &7(800)"
  60. set slot 22 of metadata tag "Perm Armor" of player to {b} named "&4Protection &b3 &fIron Chestplate &7(1200)"
  61. set slot 23 of metadata tag "Perm Armor" of player to {d} named "&4Protection &b1 &3Diamond Chestplate &7(1500)"
  62. set slot 24 of metadata tag "Perm Armor" of player to {d} named "&4Protection &b2 &3Diamond Chestplate &7(2000)"
  63.  
  64.  
  65. # Swords
  66.  
  67. set slot 22 of metadata tag "Sword" of player to red stained glass pane named "&a&lSoon™"
  68.  
  69. # Misc
  70.  
  71. set slot 22 of metadata tag "Misc" of player to red stained glass pane named "&a&lSoon™"
  72.  
  73. on disconnect:
  74. delete metadata tag "Shop" of player
  75.  
  76.  
  77. on inventory click:
  78. if event-inventory = (metadata tag "Shop" of player):
  79. cancel event
  80. if event-item is diamond chestplate named "&aArmor":
  81. open metadata tag "Armor" of player to player
  82. else if event-item is diamond sword named "&bSwords":
  83. open metadata tag "Sword" of player to player
  84. else if event-item is ender pearl named "&3Misc":
  85. open metadata tag "Misc" of player to player
  86. else if event-inventory = (metadata tag "Armor" of player):
  87. cancel event
  88. if event-item is diamond chestplate named "&41 life &aArmor":
  89. open metadata tag "1 life armor" of player to player
  90. if event-item is diamond chestplate named "&3Permanent &aArmor":
  91. open metadata tag "Perm Armor" of player to player
  92. else if event-inventory = (metadata tag "Perm Armor" of player):
  93. cancel event
  94. index of event-slot is 11:
  95. {coins::%player's uuid%} is more than 300:
  96. {perm::helmet::%player's uuid%} is not set:
  97. set {perm::helmet::%player's uuid%} to 1
  98. remove 300 from {coins::%player's uuid%}
  99. index of event-slot is 12:
  100. {coins::%player's uuid%} is more than 600:
  101. {perm::helmet::%player's uuid%} is less than 2:
  102. set {perm::helmet::%player's uuid%} to 2
  103. remove 600 from {coins::%player's uuid%}
  104. index of event-slot is 13:
  105. {coins::%player's uuid%} is more than 1000:
  106. {perm::helmet::%player's uuid%} is less than 3:
  107. set {perm::helmet::%player's uuid%} to 3
  108. remove 1000 from {coins::%player's uuid%}
  109. index of event-slot is 14:
  110. {coins::%player's uuid%} is more than 1250:
  111. {perm::helmet::%player's uuid%} is less than 4:
  112. set {perm::helmet::%player's uuid%} to 4
  113. remove 1250 from {coins::%player's uuid%}
  114. index of event-slot is 15:
  115. {coins::%player's uuid%} is more than 1750:
  116. {perm::helmet::%player's uuid%} is less than 5:
  117. set {perm::helmet::%player's uuid%} to 5
  118. remove 1750 from {coins::%player's uuid%}
  119.  
  120.  
  121. index of event-slot is 20:
  122. {coins::%player's uuid%} is more than 500:
  123. {perm::chestplate::%player's uuid%} is not set:
  124. set {perm::chestplate::%player's uuid%} to 1
  125. remove 500 from {coins::%player's uuid%}
  126. index of event-slot is 21:
  127. {coins::%player's uuid%} is more than 800:
  128. {perm::chestplate::%player's uuid%} is less than 2:
  129. set {perm::chestplate::%player's uuid%} to 2
  130. remove 800 from {coins::%player's uuid%}
  131. index of event-slot is 22:
  132. {coins::%player's uuid%} is more than 1200:
  133. {perm::chestplate::%player's uuid%} is less than 3:
  134. set {perm::chestplate::%player's uuid%} to 3
  135. remove 1200 from {coins::%player's uuid%}
  136. index of event-slot is 23:
  137. {coins::%player's uuid%} is more than 1500:
  138. {perm::chestplate::%player's uuid%} is less than 4:
  139. set {perm::chestplate::%player's uuid%} to 4
  140. remove 1500 from {coins::%player's uuid%}
  141. index of event-slot is 24:
  142. {coins::%player's uuid%} is more than 2000:
  143. {perm::chestplate::%player's uuid%} is less than 5:
  144. set {perm::chestplate::%player's uuid%} to 5
  145. remove 2000 from {coins::%player's uuid%}
  146. else if event-inventory = (metadata tag "1 life armor" of player):
  147. cancel event
  148.  
  149. command /shop:
  150. trigger:
  151. open metadata tag "Shop" of player to player
  152.  
  153.  
  154. on damage:
  155. set {%victim's uuid%::combattagged} to true
  156. set {%attacker's uuid%::combattagged} to true
  157. set {%victim's uuid%::combattimer} to 10
  158. set {%attacker's uuid%::combattimer} to 10
  159.  
  160.  
  161. every 1 second:
  162. loop all players:
  163. remove 1 from {%loop-player's uuid%::combattimer}
  164. if {%loop-player's uuid%::combattimer} is 0:
  165. set {%loop-player's uuid%::combattagged} to false
  166.  
  167. on death:
  168. set {%player's uuid%::combattagged} to false
  169. clear player's inventory
  170.  
  171.  
  172. command /pvp:
  173. trigger:
  174. clear player's inventory
  175. teleport player to {current::pvp}
  176. if {perm::helmet::%player's uuid%} is set:
  177. if {perm::helmet::%player's uuid%} is 1:
  178. set the helmet of player to unbreakable iron helmet
  179. enchant player's helmet with protection 1
  180. else if {perm::helmet::%player's uuid%} is 2:
  181. set the helmet of player to unbreakable iron helmet
  182. enchant player's helmet with protection 2
  183. else if {perm::helmet::%player's uuid%} is 3:
  184. set the helmet of player to unbreakable iron helmet
  185. enchant player's helmet with protection 3
  186. else if {perm::helmet::%player's uuid%} is 4:
  187. set the helmet of player to unbreakable diamond helmet
  188. enchant player's helmet with protection 1
  189. else if {perm::helmet::%player's uuid%} is 5:
  190. set the helmet of player to unbreakable diamond helmet
  191. enchant player's helmet with protection 2
  192. else:
  193. set the helmet of player to unbreakable iron helmet
  194.  
  195.  
  196. if {%player's uuid%::chestplate::upgrade} is not set:
  197. set the chestplate of player to unbreakable iron chestplate
  198. enchant player's chestplate with protection 1
  199. if {%player's uuid%::chestplate::upgrade} is 1:
  200. set the chestplate of player to unbreakable iron chestplate
  201. enchant player's chestplate with protection 3
  202.  
  203.  
  204. if {%player's uuid%::leggings::upgrade} is not set:
  205. set the leggings of player to unbreakable iron leggings
  206. enchant player's leggings with protection 1
  207. if {%player's uuid%::leggings::upgrade} is 1:
  208. set the leggings of player to unbreakable iron leggings
  209. enchant player's leggings with protection 3
  210.  
  211.  
  212. if {%player's uuid%::boots::upgrade} is not set:
  213. set the boots of player to unbreakable iron boots
  214. enchant player's boots with protection 1
  215. if {%player's uuid%::boots::upgrade} is 1:
  216. set the boots of player to unbreakable iron boots
  217. enchant player's boots with protection 3
  218.  
  219. if {%player's uuid%::sword::upgrade} is not set:
  220. set {_item} to unbreakable iron sword
  221. enchant {_item} with sharpness 2
  222. give player {_item}
  223. loop 3 times:
  224. give player golden apple
  225. give player glowing golden apple named "&aGolden Head"
  226. loop {pvp::%player's uuid%::*}:
  227. if loop-value is "Golden Head":
  228. give player glowing golden apple named "&aGolden Head"
  229. remove loop-value from {pvp::%player's uuid%::*}
  230. if loop-value is "Golden apple":
  231. give player golden apple
  232. remove loop-value from {pvp::%player's uuid%::*}
  233. if loop-value is "ender pearl":
  234. give player ender pearl
  235. remove loop-value from {pvp::%player's uuid%::*}
  236.  
  237.  
  238. on respawn:
  239. teleport player to {spawn}
  240.  
  241. on right click holding a golden apple:
  242. if name of player's held item is "&aGolden Head":
  243. execute console command "/effect give %player% minecraft:regeneration 5 2"
  244. execute console command "/effect give %player% minecraft:speed 10 1"
  245. remove 1 of tool from tool
  246.  
  247. on food bar change:
  248. cancel event
  249.  
  250.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement