CREAMPAN0408

Untitled

Feb 16th, 2019
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.63 KB | None | 0 0
  1. #================#
  2. #Made by Augu064 #
  3. #================#
  4.  
  5.  
  6. variables:
  7. {soldier.level.%player%} = 0
  8. {archer.level.%player%} = 0
  9. {goblin.level.%player%} = 0
  10. {pyro.level.%player%} = 0
  11. {tank.level.%player%} = 0
  12. {kill.%player%} = 0
  13. {death.%player%} = 0
  14. {killstreak.%player%} = 0
  15.  
  16. command /classreset [<offline player>]:
  17. permission: ejer.sk
  18. permission message: &c&lYou do not have permission to this command!
  19. trigger:
  20. if arg 1 is not set:
  21. message "&c&lYou are missing player!"
  22. if arg 1 is set:
  23. set {soldier.level.%arg 1%} to 0
  24. set {archer.level.%arg 1%} to 0
  25. set {goblin.level.%arg 1%} to 0
  26. set {pyro.level.%arg 1%} to 0
  27. set {tank.level.%arg 1%} to 0
  28. set {kill.%arg 1%} to 0
  29. set {death.%arg 1%} to 0
  30. set {killstreak.%arg 1%} to 0
  31. message "&c&lYou have resat %arg 1% stats and class!"
  32.  
  33. command /stats:
  34. trigger:
  35. open chest with 3 rows named "&4&lStats" to player
  36. wait 1 tick
  37. format slot 11 of player with Diamond Sword named "&c&lKills" with lore "&f&l%{kill.%player%}%" to be unstealable
  38. format slot 13 of player with Wooden Sword named "&c&lKillstreak" with lore "&f&l%{killstreak.%player%}%" to be unstealable
  39. format slot 15 of player with Redstone named "&c&lDeath" with lore "&f&l%{death.%player%}%" to be unstealable
  40.  
  41. on join:
  42. give diamond sword named "&c&lMenu" to player
  43.  
  44.  
  45. on respawn:
  46. give diamond sword named "&c&lMenu" to player
  47.  
  48. on rightclick:
  49. if player is holding a diamond sword named "&c&lMenu":
  50. open chest with 3 rows named "&4&lClass" to player
  51. format slot 11 of player with diamond sword named "&c&lKits" to run [make player execute command "/kitclass"]
  52. format slot 13 of player with bow named "&c&lUpgrades" to run [make player execute command "/classupgrades"]
  53. format slot 15 of player with skull of player named "&f&lInfo" to run [make player execute command "/classinfo"]
  54.  
  55. command /classinfo:
  56. trigger:
  57. open chest with 3 rows named "&f&lInfo" to player
  58. wait 1 tick
  59. format slot 13 of player with diamond sword named "&f&lHow to upgrade?" with lore "&c&lClick here to get infomation" to close then run [make player execute command "/upgradeinfomation"]
  60.  
  61.  
  62. command /upgradeinfomation:
  63. trigger:
  64. message "&8---&fHow to upgrade?&8---"
  65. message "&c&lStep 1: Go to the Menu"
  66. message "&c&lStep 2: Click on the Golden chestplate"
  67. message "&c&lStep 3: Click on which class you want to upgrade"
  68. message "&c&lstep 4: Then you can upgrade!"
  69. message "&8---&fHow to upgrade?&8---"
  70.  
  71. command /classupgrades:
  72. trigger:
  73. open chest with 3 rows named "&4&lClass Upgrades" to player
  74. wait 1 tick
  75. format slot 9 of player with Diamond sword named "&eSoldier" with lore "&cUpgrade Soldier " to run [make player execute command "/UpgradeSoldier"]
  76. format slot 11 of player with Bow named "&bArcher" with lore "&cUpgrade Archer " to run [make player execute command "/UpgradeArcher"]
  77. format slot 13 of player with Leather helmet named "&aGoblin" with lore "&cUpgrade Goblin " to run [make player execute command "/UpgradeGoblin"]
  78. format slot 15 of player with Flint and Steel named "&4Pyro" with lore "&cUpgrade Pyro" to run [make player execute command "/UpgradePyro"]
  79. format slot 17 of player with Gold Chestplate named "&8Tank" with lore "&cUpgrade Tank" to run [make player execute command "/UpgradeTank"]
  80.  
  81. command /UpgradeSoldier:
  82. trigger:
  83. if {soldier.level.%player%} is 0:
  84. open chest with 3 rows named "&cSoldier Upgrade to level 1" to player
  85. wait 1 tick
  86. format slot 13 of player with Diamond sword named "&cSoldier Upgrade" with lore "&cCost &f&l500$" to close then run [make player execute command "/usl1"]
  87. else if {soldier.level.%player%} is 1:
  88. open chest with 3 rows named "&cSoldier Upgrade to level 2" to player
  89. wait 1 tick
  90. format slot 13 of player with Diamond sword named "&cSoldier Upgrade" with lore "&cCost &f&l1000$" to close then run [make player execute command "/usl2"]
  91. else if {soldier.level.%player%} is 2:
  92. open chest with 3 rows named "&cSoldier Upgrade to level 3" to player
  93. wait 1 tick
  94. format slot 13 of player with Diamond sword named "&cSoldier Upgrade" with lore "&cCost &f&l1500$" to close then run [make player execute command "/usl3"]
  95. else if {soldier.level.%player%} is 3:
  96. open chest with 3 rows named "&cSoldier Upgrade to level 4" to player
  97. wait 1 tick
  98. format slot 13 of player with Diamond sword named "&cSoldier Upgrade" with lore "&cCost &f&l2500$" to close then run [make player execute command "/usl4"]
  99. else if {soldier.level.%player%} is 4:
  100. open chest with 3 rows named "&cSoldier Upgrade to level 5" to player
  101. wait 1 tick
  102. format slot 13 of player with Diamond sword named "&cSoldier Upgrade" with lore "&cCost &f&l5000$" to close then run [make player execute command "/usl5"]
  103. else if {soldier.level.%player%} is 5:
  104. open chest with 3 rows named "&cSoldier Max level" to player
  105. wait 1 tick
  106. format slot 13 of player with skull of player named "&cSoldier Max Level" to be unstealable
  107.  
  108. command /usl1:
  109. trigger:
  110. if player's balance is between 0 and 500:
  111. message "&c&lYou dont have 500$"
  112. if player's balance is greater than 500:
  113. remove 500 from the player's balance
  114. add 1 to {soldier.level.%player%}
  115. message "&c&lYou Soldier kit is level &f&l%{soldier.level.%player%}%"
  116.  
  117. command /usl2:
  118. trigger:
  119. if player's balance is between 0 and 1000:
  120. message "&c&lYou dont have 1000$"
  121. if player's balance is greater than 1000:
  122. remove 1000 from the player's balance
  123. add 1 to {soldier.level.%player%}
  124. message "&c&lYou Soldier kit is level &f&l%{soldier.level.%player%}%"
  125.  
  126. command /usl3:
  127. trigger:
  128. if player's balance is between 0 and 1500:
  129. message "&c&lYou dont have 1500$"
  130. if player's balance is greater than 1500:
  131. remove 1500 from the player's balance
  132. add 1 to {soldier.level.%player%}
  133. message "&c&lYou Soldier kit is level &f&l%{soldier.level.%player%}%"
  134.  
  135. command /usl4:
  136. trigger:
  137. if player's balance is between 0 and 2500:
  138. message "&c&lYou dont have 2500$"
  139. if player's balance is greater than 2500:
  140. remove 2500 from the player's balance
  141. add 1 to {soldier.level.%player%}
  142. message "&c&lYou Soldier kit is level &f&l%{soldier.level.%player%}%"
  143.  
  144. command /usl5:
  145. trigger:
  146. if player's balance is between 0 and 5000:
  147. message "&c&lYou dont have 5000$"
  148. if player's balance is greater than 5000:
  149. remove 5000 from the player's balance
  150. add 1 to {soldier.level.%player%}
  151. message "&c&lYou Soldier kit is level &f&l%{soldier.level.%player%}%"
  152.  
  153. command /UpgradeArcher:
  154. trigger:
  155. if {archer.level.%player%} is 0:
  156. open chest with 3 rows named "&bArcher Upgrade to level 1" to player
  157. wait 1 tick
  158. format slot 13 of player with Bow named "&bArcher Upgrade" with lore "&cCost &f&l1000$" to close then run [make player execute command "/ual1"]
  159. else if {archer.level.%player%} is 1:
  160. open chest with 3 rows named "&bArcher Upgrade to level 2" to player
  161. wait 1 tick
  162. format slot 13 of player with Bow named "&bArcher Upgrade" with lore "&cCost &f&l2500$" to close then run [make player execute command "/ual2"]
  163. else if {archer.level.%player%} is 2:
  164. open chest with 3 rows named "&bArcher Upgrade to level 3" to player
  165. wait 1 tick
  166. format slot 13 of player with Bow named "&bArcher Upgrade" with lore "&cCost &f&l3500$" to close then run [make player execute command "/ual3"]
  167. else if {archer.level.%player%} is 3:
  168. open chest with 3 rows named "&bArcher Upgrade to level 4" to player
  169. wait 1 tick
  170. format slot 13 of player with Bow named "&bArcher Upgrade" with lore "&cCost &f&l5000$" to close then run [make player execute command "/ual4"]
  171. else if {archer.level.%player%} is 4:
  172. open chest with 3 rows named "&bArcher Upgrade to level 5" to player
  173. wait 1 tick
  174. format slot 13 of player with Bow named "&bArcher Upgrade" with lore "&cCost &f&l1000$" to close then run [make player execute command "/ual5"]
  175. else if {archer.level.%player%} is 5:
  176. open chest with 3 rows named "&bArcher Max level" to player
  177. wait 1 tick
  178. format slot 13 of player with skull of player named "&bArcher Max Level" to be unstealable
  179.  
  180. command /ual1:
  181. trigger:
  182. if player's balance is between 0 and 1000:
  183. message "&c&lYou dont have 1000$"
  184. if player's balance is greater than 1000:
  185. remove 1000 from the player's balance
  186. add 1 to {archer.level.%player%}
  187. message "&c&lYou Archer kit is level &f&l%{archer.level.%player%}%"
  188.  
  189. command /ual2:
  190. trigger:
  191. if player's balance is between 0 and 2500:
  192. message "&c&lYou dont have 2500$"
  193. if player's balance is greater than 2500:
  194. remove 2500 from the player's balance
  195. add 1 to {archer.level.%player%}
  196. message "&c&lYou Archer kit is level &f&l%{archer.level.%player%}%"
  197.  
  198. command /ual3:
  199. trigger:
  200. if player's balance is between 0 and 3500:
  201. message "&c&lYou dont have 3500$"
  202. if player's balance is greater than 3500:
  203. remove 2500 from the player's balance
  204. add 1 to {archer.level.%player%}
  205. message "&c&lYou Archer kit is level &f&l%{archer.level.%player%}%"
  206.  
  207. command /ual4:
  208. trigger:
  209. if player's balance is between 0 and 5000:
  210. message "&c&lYou dont have 5000$"
  211. if player's balance is greater than 5000:
  212. remove 5000 from the player's balance
  213. add 1 to {archer.level.%player%}
  214. message "&c&lYou Archer kit is level &f&l%{archer.level.%player%}%"
  215.  
  216. command /ual5:
  217. trigger:
  218. if player's balance is between 0 and 10000:
  219. message "&c&lYou dont have 10000$"
  220. if player's balance is greater than 10000:
  221. remove 10000 from the player's balance
  222. add 1 to {archer.level.%player%}
  223. message "&c&lYou Archer kit is level &f&l%{archer.level.%player%}%"
  224.  
  225. command /UpgradeGoblin:
  226. trigger:
  227. if {goblin.level.%player%} is 0:
  228. open chest with 3 rows named "&aGoblin Upgrade to level 1" to player
  229. wait 1 tick
  230. format slot 13 of player with Leather Helmet named "&aGoblin Upgrade" with lore "&cCost &f&l2500$" to close then run [make player execute command "/ugl1"]
  231. else if {goblin.level.%player%} is 1:
  232. open chest with 3 rows named "&aGoblin Upgrade to level 2" to player
  233. wait 1 tick
  234. format slot 13 of player with Leather Helmet named "&aGoblin Upgrade" with lore "&cCost &f&l5000$" to close then run [make player execute command "/ugl2"]
  235. else if {goblin.level.%player%} is 2:
  236. open chest with 3 rows named "&aGoblin Upgrade to level 3" to player
  237. wait 1 tick
  238. format slot 13 of player with Leather Helmet named "&aGoblin Upgrade" with lore "&cCost &f&l7500$" to close then run [make player execute command "/ugl3"]
  239. else if {goblin.level.%player%} is 3:
  240. open chest with 3 rows named "&aGoblin Max level" to player
  241. wait 1 tick
  242. format slot 13 of player with skull of player named "&aGoblin Max Level" to be unstealable
  243.  
  244. command /ugl1:
  245. trigger:
  246. if player's balance is between 0 and 2500:
  247. message "&c&lYou dont have 2500$"
  248. if player's balance is greater than 2500:
  249. remove 2500 from the player's balance
  250. add 1 to {goblin.level.%player%}
  251. message "&c&lYou Goblin kit is level &f&l%{goblin.level.%player%}%"
  252.  
  253. command /ugl2:
  254. trigger:
  255. if player's balance is between 0 and 5000:
  256. message "&c&lYou dont have 5000$"
  257. if player's balance is greater than 5000:
  258. remove 5000 from the player's balance
  259. add 1 to {goblin.level.%player%}
  260. message "&c&lYou Goblin kit is level &f&l%{goblin.level.%player%}%"
  261.  
  262. command /ugl3:
  263. trigger:
  264. if player's balance is between 0 and 7500:
  265. message "&c&lYou dont have 7500$"
  266. if player's balance is greater than 7500:
  267. remove 7500 from the player's balance
  268. add 1 to {goblin.level.%player%}
  269. message "&c&lYou Goblin kit is level &f&l%{goblin.level.%player%}%"
  270.  
  271. command /UpgradePyro:
  272. trigger:
  273. if {pyro.level.%player%} is 0:
  274. open chest with 3 rows named "&4Pyro Upgrade to level 1" to player
  275. wait 1 tick
  276. format slot 13 of player with Flint and Steel named "&4Pyro Upgrade" with lore "&cCost &f&l2500$" to close then run [make player execute command "/upl1"]
  277. else if {pyro.level.%player%} is 1:
  278. open chest with 3 rows named "&4Pyro Upgrade to level 2" to player
  279. wait 1 tick
  280. format slot 13 of player with Flint and Steel named "&4Pyro Upgrade" with lore "&cCost &f&l5000$" to close then run [make player execute command "/upl2"]
  281. else if {pyro.level.%player%} is 2:
  282. open chest with 3 rows named "&4Pyro Upgrade to level 3" to player
  283. wait 1 tick
  284. format slot 13 of player with Flint and Steel named "&4Pyro Upgrade" with lore "&cCost &f&l7500$" to close then run [make player execute command "/upl3"]
  285. else if {pyro.level.%player%} is 3:
  286. open chest with 3 rows named "&4Pyro Max level" to player
  287. wait 1 tick
  288. format slot 13 of player with skull of player named "&4Pyro Max Level" to be unstealable
  289.  
  290. command /upl1:
  291.  
  292. trigger:
  293. if player's balance is between 0 and 2500:
  294. message "&c&lYou dont have 2500$"
  295. if player's balance is greater than 2500:
  296. remove 2500 from the player's balance
  297. add 1 to {pyro.level.%player%}
  298. message "&c&lYou Pyro kit is level &f&l%{pyro.level.%player%}%"
  299.  
  300. command /upl2:
  301.  
  302. trigger:
  303. if player's balance is between 0 and 5000:
  304. message "&c&lYou dont have 5000$"
  305. if player's balance is greater than 5000:
  306. remove 5000 from the player's balance
  307. add 1 to {pyro.level.%player%}
  308. message "&c&lYou Pyro kit is level &f&l%{pyro.level.%player%}%"
  309.  
  310. command /upl3:
  311.  
  312. trigger:
  313. if player's balance is between 0 and 7500:
  314. message "&c&lYou dont have 7500$"
  315. if player's balance is greater than 7500:
  316. remove 7500 from the player's balance
  317. add 1 to {pyro.level.%player%}
  318. message "&c&lYou Pyro kit is level &f&l%{pyro.level.%player%}%"
  319.  
  320. command /UpgradeTank:
  321. trigger:
  322. if {tank.level.%player%} is 0:
  323. open chest with 3 rows named "&8Tank Upgrade to level 1" to player
  324. wait 1 tick
  325. format slot 13 of player with Diamond Chestplate named "&8Tank Upgrade" with lore "&cCost &f&l10000$" to close then run [make player execute command "/utl1"]
  326. else if {tank.level.%player%} is 1:
  327. open chest with 3 rows named "&8Tank Max level" to player
  328. wait 1 tick
  329. format slot 13 of player with skull of player named "&8Tank Max Level" to be unstealable
  330.  
  331. command /utl1:
  332.  
  333. trigger:
  334. if player's balance is between 0 and 10000:
  335. message "&c&lYou dont have 10000$"
  336. if player's balance is greater than 10000:
  337. remove 10000 from the player's balance
  338. add 1 to {tank.level.%player%}
  339. message "&c&lYou Tank kit is level &f&l%{tank.level.%player%}%"
  340.  
  341. command /kitclass:
  342. trigger:
  343. if player have permission "group.normal":
  344. open chest with 3 rows named "&4&lClass" to player
  345. wait 1 tick
  346. format slot 9 of player with Diamond Sword named "&eSoldier" to close then run [make player execute command "/kitsoldier"]
  347. format slot 11 of player with Bow named "&bArcher" to close then run [make player execute command "/kitarcher"]
  348. format slot 13 of player with Leather Helmet named "&aGoblin" to close then run [make player execute command "/kitgoblin"]
  349. format slot 15 of player with Flint and Steel named "&4Pyro" to close then run [make player execute command "/kitpyro"]
  350. format slot 17 of player with Gold Chestplate named "&8Tank" to close then run [make player execute command "/kittank"]
  351.  
  352.  
  353. command /kitsoldier:
  354.  
  355. trigger:
  356. if {kit.%player%} is true:
  357. message "&c&lYou have allready selected a kit!"
  358. if {kit.%player%} is false:
  359. if {soldier.level.%player%} is 0:
  360. execute console command "/ci %player%"
  361. give Diamond Sword named "&eSoldier Sword" with lore "&c&lSoldier" to player
  362. give Iron Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  363. give Iron Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  364. give Iron Leggings named "&eSoldier Leggings" with lore "&c&lSoldier" to player
  365. give Iron Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  366. set {kit.%player%} to true
  367. if {soldier.level.%player%} is 1:
  368. execute console command "/ci %player%"
  369. give Diamond Sword named "&eSoldier Sword" with lore "&c&lSoldier" to player
  370. give Diamond Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  371. give Iron Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  372. give Iron Leggings named "&eSoldier Leggings" with lore "&c&lSoldier" to player
  373. give Iron Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  374. set {kit.%player%} to true
  375. if {soldier.level.%player%} is 2:
  376. execute console command "/ci %player%"
  377. give Diamond Sword named "&eSoldier Sword" with lore "&c&lSoldier" to player
  378. give Diamond Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  379. give Diamond Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  380. give Iron Leggings named "&eSoldier Leggings" with lore "&c&lSoldier" to player
  381. give Iron Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  382. set {kit.%player%} to true
  383. if {soldier.level.%player%} is 3:
  384. execute console command "/ci %player%"
  385. give Diamond Sword named "&eSoldier Sword" with lore "&c&lSoldier" to player
  386. give Diamond Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  387. give Diamond Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  388. give Diamond Leggings named "&eSoldier Leggings" with lore "&c&lSoldier" to player
  389. give Iron Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  390. set {kit.%player%} to true
  391. if {soldier.level.%player%} is 4:
  392. execute console command "/ci %player%"
  393. give Diamond Sword named "&eSoldier Sword" with lore "&c&lSoldier" to player
  394. give Diamond Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  395. give Diamond Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  396. give Diamond Leggings named "ecSoldier Leggings" with lore "&c&lSoldier" to player
  397. give Diamond Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  398. set {kit.%player%} to true
  399. if {soldier.level.%player%} is 5:
  400. execute console command "/ci %player%"
  401. give Diamond Sword of unbreaking 1 named "&eSoldier Sword" with lore "&c&lSoldier" to player
  402. give Diamond Helmet named "&eSoldier Helmet" with lore "&c&lSoldier" to player
  403. give Diamond Chestplate named "&eSoldier Chestplate" with lore "&c&lSoldier" to player
  404. give Diamond Leggings named "&eSoldier Leggings" with lore "&c&lSoldier" to player
  405. give Diamond Boots named "&eSoldier Boots" with lore "&c&lSoldier" to player
  406. set {kit.%player%} to true
  407.  
  408. command /kitarcher:
  409.  
  410. trigger:
  411. if {kit.%player%} is true:
  412. message "&c&lYou have allready selected a kit!"
  413. if {kit.%player%} is false:
  414. if {archer.level.%player%} is 0:
  415. execute console command "/ci %player%"
  416. give Bow of power 1 named "&bArcher Bow" with lore "&c&lArcher" to player
  417. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  418. give Chainmail Helmet named "&bArcher Helmet" with lore "&c&lArcher" to player
  419. give Chainmail Chestplate named "&bArcher Chestplate" with lore "&c&lArcher" to player
  420. give Chainmail Leggings named "&bArcher Leggings" with lore "&c&lArcher" to player
  421. give Chainmail Boots named "&bArcher Boots" with lore "&c&lArcher" to player
  422. set {kit.%player%} to true
  423. if {archer.level.%player%} is 1:
  424. execute console command "/ci %player%"
  425. give Bow of power 2 named "&bArcher Bow" with lore "&c&lArcher" to player
  426. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  427. give Chainmail Helmet named "&bArcher Helmet" with lore "&c&lArcher" to player
  428. give Chainmail Chestplate of protection 1 named "&bArcher Chestplate" with lore "&c&lArcher" to player
  429. give Chainmail Leggings named "&bArcher Leggings" with lore "&c&lArcher" to player
  430. give Chainmail Boots named "&bArcher Boots" with lore "&c&lArcher" to player
  431. set {kit.%player%} to true
  432. if {archer.level.%player%} is 2:
  433. execute console command "/ci %player%"
  434. give Bow of power 3 named "&bArcher Bow" with lore "&c&lArcher" to player
  435. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  436. give Chainmail Helmet named "&bArcher Helmet" with lore "&c&lArcher" to player
  437. give Chainmail Chestplate of protection 1 named "&bArcher Chestplate" with lore "&c&lArcher" to player
  438. give Chainmail Leggings of protection 1 named "&bArcher Leggings" with lore "&c&lArcher" to player
  439. give Chainmail Boots named "&bArcher Boots" with lore "&c&lArcher" to player
  440. set {kit.%player%} to true
  441. if {archer.level.%player%} is 3:
  442. execute console command "/ci %player%"
  443. give Bow of power 4 named "&bArcher Bow" with lore "&c&lArcher" to player
  444. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  445. give Chainmail Helmet named "&bArcher Helmet" with lore "&c&lArcher" to player
  446. give Chainmail Chestplate of protection 1 named "&bArcher Chestplate" with lore "&c&lArcher" to player
  447. give Chainmail Leggings of protection 1 named "&bArcher Leggings" with lore "&c&lArcher" to player
  448. give Chainmail Boots of protection 1 named "&bArcher Boots" with lore "&c&lArcher" to player
  449. set {kit.%player%} to true
  450. if {archer.level.%player%} is 4:
  451. execute console command "/ci %player%"
  452. give Bow of power 5 named "&bArcher Bow" with lore "&c&lArcher" to player
  453. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  454. give Chainmail Helmet of protection 1 named "&bArcher Helmet" with lore "&c&lArcher" to player
  455. give Chainmail Chestplate of protection 1 named "&bArcher Chestplate" with lore "&c&lArcher" to player
  456. give Chainmail Leggings of protection 1 named "&bArcher Leggings" with lore "&c&lArcher" to player
  457. give Chainmail Boots of protection 1 named "&bArcher Boots" with lore "&c&lArcher" to player
  458. set {kit.%player%} to true
  459. if {archer.level.%player%} is 5:
  460. execute console command "/ci %player%"
  461. give Bow of power 5 named "&bArcher Bow" with lore "&c&lArcher" to player
  462. give 64 Arrows named "&bArcher Arrows" with lore "&c&lArcher" to player
  463. give Chainmail Helmet of protection 1 named "&bArcher Helmet" with lore "&c&lArcher" to player
  464. give Chainmail Chestplate of protection 2 named "&bArcher Chestplate" with lore "&c&lArcher" to player
  465. give Chainmail Leggings of protection 1 named "&bArcher Leggings" with lore "&c&lArcher" to player
  466. give Chainmail Boots of protection 1 named "&bArcher Boots" with lore "&c&lArcher" to player
  467. set {kit.%player%} to true
  468.  
  469. command /kitgoblin:
  470.  
  471. trigger:
  472. if {kit.%player%} is true:
  473. message "&c&lYou have allready selected a kit!"
  474. if {kit.%player%} is false:
  475. if {goblin.level.%player%} is 0:
  476. execute console command "/ci %player%"
  477. give Stone Sword of Sharpness 2 and unbreaking 1 named "&aGoblin Sword" with lore "&c&lGoblin" to player
  478. give Leather Helmet of protection 1 and unbreaking 1 named "&aGoblin Helmet" with lore "&c&lGoblin" to player
  479. give Leather Chestplate of protection 1 and unbreaking 1 named "&aGoblin Chestplate" with lore "&c&lGoblin" to player
  480. give Leather Leggings of protection 1 and unbreaking 1 named "&aGoblin Leggings" with lore "&c&lGoblin" to player
  481. give Leather Boots of protection 1 and unbreaking 1 named "&aGoblin Boots" with lore "&c&lGoblin" to player
  482. apply speed 1 to the player for 999 days
  483. if {goblin.level.%player%} is 1:
  484. execute console command "/ci %player%"
  485. give Stone Sword of Sharpness 2 and unbreaking 2 named "&aGoblin Sword" with lore "&c&lGoblin" to player
  486. give Leather Helmet of protection 1 and unbreaking 2 named "&aGoblin Helmet" with lore "&c&lGoblin" to player
  487. give Leather Chestplate of protection 2 and unbreaking 2 named "&aGoblin Chestplate" with lore "&c&lGoblin" to player
  488. give Leather Leggings of protection 2 and unbreaking 2 named "&aGoblin Leggings" with lore "&c&lGoblin" to player
  489. give Leather Boots of protection 1 and unbreaking 2 named "&aGoblin Boots" with lore "&c&lGoblin" to player
  490. apply speed 1 to the player for 999 days
  491. if {goblin.level.%player%} is 2:
  492. execute console command "/ci %player%"
  493. give Stone Sword of Sharpness 2 and unbreaking 3 named "&aGoblin Sword" with lore "&c&lGoblin" to player
  494. give Leather Helmet of protection 2 and unbreaking 3 named "&aGoblin Helmet" with lore "&c&lGoblin" to player
  495. give Leather Chestplate of protection 2 and unbreaking 3 named "&aGoblin Chestplate" with lore "&c&lGoblin" to player
  496. give Leather Leggings of protection 2 and unbreaking 3 named "&aGoblin Leggings" with lore "&c&lGoblin" to player
  497. give Leather Boots of protection 1 and unbreaking 3 named "&aGoblin Boots" with lore "&c&lGoblin" to player
  498. apply speed 1 to the player for 999 days
  499. if {goblin.level.%player%} is 3:
  500. execute console command "/ci %player%"
  501. give Stone Sword of Sharpness 2 and unbreaking 4 named "&aGoblin Sword" with lore "&c&lGoblin" to player
  502. give Leather Helmet of protection 2 and unbreaking 4 named "&aGoblin Helmet" with lore "&c&lGoblin" to player
  503. give Leather Chestplate of protection 2 and unbreaking 4 named "&aGoblin Chestplate" with lore "&c&lGoblin" to player
  504. give Leather Leggings of protection 2 and unbreaking 4 named "&aGoblin Leggings" with lore "&c&lGoblin" to player
  505. give Leather Boots of protection 2 and unbreaking 4 named "&aGoblin Boots" with lore "&c&lGoblin" to player
  506. apply speed 1 to the player for 999 days
  507.  
  508. command /kitpyro:
  509.  
  510. trigger:
  511. if {kit.%player%} is true:
  512. message "&c&lYou have allready selected a kit!"
  513. if {kit.%player%} is false:
  514. if {pyro.level.%player%} is 0:
  515. execute console command "/ci %player%"
  516. give Iron Sword of Fire aspect 1 named "&4Pyro Sword" with lore "&c&lPyro" to player
  517. give Iron Helmet named "&4Pyro Helmet" with lore "&c&lPyro" to player
  518. give Iron Chestplate named "&4Pyro Chestplate" with lore "&c&lPyro" to player
  519. give Iron Leggings named "&4Pyro Leggings" with lore "&c&lPyro" to player
  520. give Iron Boots named "&4Pyro Boots" with lore "&c&lPyro" to player
  521. if {pyro.level.%player%} is 1:
  522. execute console command "/ci %player%"
  523. give Iron Sword of Fire aspect 1 and sharpness 1 named "&4Pyro Sword" with lore "&c&lPyro" to player
  524. give Iron Helmet named "&4Pyro Helmet" with lore "&c&lPyro" to player
  525. give Iron Chestplate named "&4Pyro Chestplate" with lore "&c&lPyro" to player
  526. give Iron Leggings named "&4Pyro Leggings" with lore "&c&lPyro" to player
  527. give Iron Boots named "&4Pyro Boots" with lore "&c&lPyro" to player
  528. if {pyro.level.%player%} is 2:
  529. execute console command "/ci %player%"
  530. give Iron Sword of Fire aspect 1 and sharpness 2 named "&4Pyro Sword" with lore "&c&lPyro" to player
  531. give Iron Helmet named "&4Pyro Helmet" with lore "&c&lPyro" to player
  532. give Iron Chestplate named "&4Pyro Chestplate" with lore "&c&lPyro" to player
  533. give Iron Leggings named "&4Pyro Leggings" with lore "&c&lPyro" to player
  534. give Iron Boots named "&4Pyro Boots" with lore "&c&lPyro" to player
  535. if {pyro.level.%player%} is 3:
  536. execute console command "/ci %player%"
  537. give Iron Sword of Fire aspect 1 and sharpness 2 named "&4Pyro Sword" with lore "&c&lPyro" to player
  538. give Iron Helmet named "&4Pyro Helmet" with lore "&c&lPyro" to player
  539. give Iron Chestplate of protection 1 named "&4Pyro Chestplate" with lore "&c&lPyro" to player
  540. give Iron Leggings of protection 1 named "&4Pyro Leggings" with lore "&c&lPyro" to player
  541. give Iron Boots named "&4Pyro Boots" with lore "&c&lPyro" to player
  542.  
  543. command /kittank:
  544.  
  545. trigger:
  546. if {kit.%player%} is true:
  547. message "&c&lYou have allready selected a kit!"
  548. if {kit.%player%} is false:
  549. if {tank.level.%player%} is 0:
  550. execute console command "/ci %player%"
  551. give Wooden Sword of Unbreaking 4 named "&8Tank Sword" with lore "&c&lTank" to player
  552. give Diamond Helmet of Unbreaking 4 and protection 1 named "&8Tank Helmet" with lore "&c&lTank" to player
  553. give Diamond Chestplate of Unbreaking 4 and protection 1 named "&8Tank Chestplate" with lore "&c&lTank" to player
  554. give Diamond Leggings of Unbreaking 4 and protection 1 named "&8Tank Leggings" with lore "&c&lTank" to player
  555. give Diamond Boots of Unbreaking 4 and protection 1 named "&8Tank Leggings" with lore "&c&lTank" to player
  556. apply strength 1 to the player for 999 days
  557. apply absorption 4 to the player for 999 days
  558. apply slowness 3 to the player for 999 days
  559. if {tank.level.%player%} is 1:
  560. execute console command "/ci %player%"
  561. give Wooden Sword of Unbreaking 4 named "&8Tank Sword" with lore "&c&lTank" to player
  562. give Diamond Helmet of Unbreaking 4 and protection 1 named "&8Tank Helmet" with lore "&c&lTank" to player
  563. give Diamond Chestplate of Unbreaking 4 and protection 2 named "&8Tank Chestplate" with lore "&c&lTank" to player
  564. give Diamond Leggings of Unbreaking 4 and protection 2 named "&8Tank Leggings" with lore "&c&lTank" to player
  565. give Diamond Boots of Unbreaking 4 and protection 1 named "&8Tank Leggings" with lore "&c&lTank" to player
  566. apply strength 1 to the player for 999 days
  567. apply absorption 4 to the player for 999 days
  568. apply slowness 3 to the player for 999 days
  569.  
  570. on hunger meter change:
  571. cancel event
  572.  
  573. on death:
  574. if victim is a player:
  575. set {kit.%victim%} to false
  576. send "&c&lYou killed %victim% and got 20$" to attacker
  577. send "&c&lYou have been killed by %attacker%" to victim
  578. add 1 to {kill.%attacker%}
  579. add 1 to {death.%victim%}
  580. add 1 to {killstreak.%attacker%}
  581. set {killstreak.%victim%} to 0
  582. add 20 to the player's balance
Add Comment
Please, Sign In to add comment