Advertisement
AurasPrivate

Untitled

Oct 10th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.61 KB | None | 0 0
  1. on skript start:
  2. set {server.location.spawn} to {server.location.spawn}
  3. set {server.location.arena} to {server.location.arena}
  4.  
  5. command /trigger:
  6. permission: *
  7. trigger:
  8. set {player::%uuid of player%::game::elorank} to "Unranked"
  9.  
  10. on first join:
  11. set {player::%uuid of player%::rank::display} to "None"
  12. set {player::%uuid of player%::rank::prefix} to "&r"
  13. set {player::%uuid of player%::game::elorank} to "Unranked"
  14. set {player::%uuid of player%::game::kills} to 0
  15. set {player::%uuid of player%::game::deaths} to 0
  16. set {player::%uuid of player%::game::coins} to 10000
  17. set {player::%uuid of player%::game::elo} to 1000
  18. set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
  19. on join:
  20. send "&7&m--------------------------------------"
  21. message "&eConnect to our discord."
  22. message "&6&lDiscord &rhttps://discord.gg/qtaJPy6"
  23. message "&eFor help, type /information"
  24. send "&7&m--------------------------------------"
  25.  
  26. command /information:
  27. aliases: /help, /info
  28. trigger:
  29. send "&7&m--------------------------------------"
  30. send "&6&l/class &e- Select classes."
  31. send "&6&l/shop &e- Browse the shop."
  32. send "&6&l/stats &e- View your statistics."
  33. send "&6&l/inventory &e- View your purchased items."
  34. send "&6&l/game &e- Join/Leave the arena."
  35. send "&6&l/gift &e- Gift players coins."
  36. send "&7&m--------------------------------------"
  37. on join:
  38. teleport player to {server::location::spawn}
  39. make player execute "spawn"
  40. delete {player::%uuid of player%::game::unranked::status}
  41. set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
  42. on disconnect:
  43. set leave message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas disconnected from the server."
  44. command /gift [<offline player>] [<integer>]:
  45. trigger:
  46. if arg-1 is set:
  47. if arg-2 is set:
  48. set {_amount} to arg-2
  49. if {player::%uuid of player%::game::coins} < {_amount}:
  50. send "&cYou don't have sufficient currencies to gift %arg-1% &l$%arg-2%"
  51. else:
  52. remove arg-2 from {player::%uuid of player%::game::coins}
  53. add arg-2 to {player::%uuid of arg-1%::game::coins}
  54. send "&6&l[*] &rGifted %arg-1% $%arg-2% dollars." to player
  55. send "&6&l[*] &rRecieved $%arg-2% dollars from %arg-1%" to arg-1
  56. else:
  57. send "&cUnspecified argument(s): &n/gift <player> <amount>"
  58. else:
  59. send "&cUnspecified argument(s): &n/gift <player> <amount>"
  60.  
  61. command /stats [<offline player>]:
  62. trigger:
  63. if arg-1 is set:
  64. send "&7&m--------------------------------------"
  65. send "&r"
  66. send "&6&l%arg-1%'s Global Statistics"
  67. send " &r&lKILLS &7%{player::%uuid of arg-1%::game::kills}%"
  68. send " &r&lDEATHS &7%{player::%uuid of arg-1%::game::deaths}%"
  69. send " &r&lELO &7%{player::%uuid of arg-1%::game::elo}%"
  70. send " &r&lCOINS &7%{player::%uuid of arg-1%::game::coins}%"
  71. send "&r"
  72. send "&7&m--------------------------------------"
  73. else:
  74. send "&7&m--------------------------------------"
  75. send "&r"
  76. send "&6&lGlobal Statistics"
  77. send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
  78. send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
  79. send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
  80. send " &r&lCOINS &7%{player::%uuid of player%::game::coins}%"
  81. send "&r"
  82. send "&7&m--------------------------------------"
  83. command /unranked:
  84. trigger:
  85. if {player::%uuid of player%::game::ranked::status} isn't set:
  86. if {player::%uuid of player%::game::unranked::status} is set:
  87. if {player::%uuid of player%::game::pvptag} is "IDKKDKDKD":
  88. send "&cYou have a &a&lPvPTag &ccooldown still."
  89. else:
  90. if {player::%uuid of player%::game::current::kills} isn't set:
  91. set {player::%uuid of player%::game::current::kills} to 0
  92. if {player::%uuid of player%::game::current::deaths} isn't set:
  93. set {player::%uuid of player%::game::current::deaths} to 0
  94. if {player::%uuid of player%::game::kills} isn't set:
  95. set {player::%uuid of player%::game::kills} to 0
  96. if {player::%uuid of player%::game::deaths} isn't set:
  97. set {player::%uuid of player%::game::deaths} to 0
  98. if {player::%uuid of player%::game::elo} isn't set:
  99. set {player::%uuid of player%::game::elo} to 1000
  100. send "&7&m--------------------------------------"
  101. send "&r"
  102. send "&6&lGlobal Statistics"
  103. send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
  104. send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
  105. send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
  106. send "&r"
  107. send "&7&m--------------------------------------"
  108. clear player's inventory
  109. execute console command "/minecraft:effect %player% clear"
  110. set {player::%uuid of player%::spawn} to true
  111. teleport player to {server.location.spawn}
  112. delete {player::%uuid of player%::game::pvptag}
  113. delete {player::%uuid of player%::game::status}
  114. delete {player::%uuid of player%::game::current::kills}
  115. delete {player::%uuid of player%::game::current::deaths}
  116. delete {player::%uuid of player%::game::unranked::status}
  117. make player execute "spawn"
  118. else:
  119. delete {player::%uuid of player%::spawn}
  120. if {player.%uuid of player%::game::class} isn't set:
  121. set {player.%uuid of player%::game::class} to "Aggressive"
  122. set {player::%uuid of player%::game::unranked::status} to true
  123. send "&7&m--------------------------------------"
  124. send "&r"
  125. send "&6&lUNRANKED &6FFA"
  126. send "&r"
  127. send " &r&lCLASS &7%{player.%uuid of player%::game::class}%"
  128. send "&r"
  129. send "&7&m--------------------------------------"
  130. if {player::%uuid of player%::game::effects::speed1} is set:
  131. apply speed 1 to player for 999 days
  132. if {player::%uuid of player%::game::effects::speed2} is set:
  133. apply speed 2 to player for 999 days
  134. if {player::%uuid of player%::game::effects::strength1} is set:
  135. apply strength 1 to player for 999 days
  136. if {player.%uuid of player%::game::class} is "Aggressive":
  137. clear player's inventory
  138. make player execute "server:class1"
  139. else if {player.%uuid of player%::game::class} is "Bard":
  140. clear player's inventory
  141. make player execute "server:class2"
  142. else if {player.%uuid of player%::game::class} is "Balanced":
  143. clear player's inventory
  144. make player execute "server:class3"
  145. else if {player.%uuid of player%::game::class} is "Pyro":
  146. clear player's inventory
  147. make player execute "server:class4"
  148. else if {player.%uuid of player%::game::class} is "Thief":
  149. clear player's inventory
  150. make player execute "server:class5"
  151. else:
  152. send "&cYou have to leave &lRanked &cbefore entering unranked."
  153.  
  154. command /shop:
  155. trigger:
  156. open chest with 1 row named "&8Shop" to player
  157. format slot 0 of player with diamond chestplate named "&r&lCLASSES &rShop" with lore "||&rLeft-click to browse purchaseable kits." to close then run [make player execute "server:classshop"]
  158. format slot 1 of player with crafting table named "&r&lRANKS &rShop" with lore "||&rLeft-click to browse our ranks." to close then run [make player execute "server:rankshop"]
  159. format slot 2 of player with red dye named "&r&lKILL EFFECTS &rShop" with lore "||&rLeft-click to browse purchaseable kill effects." to close then run [make player execute "server:killeffectshop"]
  160. format slot 3 of player with player's skull named "&r&lDEATH ANIMATIONS &rShop" with lore "||&rLeft-click to browse purchaseable death animations." to close then run [make player execute "server:deathanimationshop"]
  161. format slot 4 of player with water_bottle named "&r&lPERMANENT &rShop" with lore "||&rLeft-click to browse purchaseable effects" to close then run [make player execute "server:effectsshop"]
  162.  
  163. command /server:rankshop:
  164. trigger:
  165. send "&cComing soon"
  166.  
  167. command /server:killeffectshop:
  168. trigger:
  169. wait 3 ticks
  170. open chest with 3 rows named "&8Kill Effects Shop" to player
  171. if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
  172. format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$5,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect1"]
  173. else:
  174. format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
  175. if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
  176. format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&r$7,500||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect2"]
  177. else:
  178. format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
  179. if {player::%uuid of player%::game::killeffects::regen2} isn't set:
  180. format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&r$10,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect3"]
  181. else:
  182. format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&a&lOWNED" to be unstealable
  183.  
  184. command /server:buykilleffect1:
  185. trigger:
  186. if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
  187. if {player::%uuid of player%::game::coins} isn't greater than 4999:
  188. send "&cYou don't have sufficient currencies to purchase &lSpeed One Kill Effect"
  189. else:
  190. set {player.%uuid of player%::inventory::killeffects::speed1} to true
  191. remove 5000 from {player::%uuid of player%::game::coins}
  192. send "&ePurchased Speed One Kill Effect"
  193. set {player::%uuid of player%::game::killeffects::speed1} to true
  194. send "&eSelected Speed One Kill Effect"
  195. else:
  196. send "&cYou already own &lSpeed One Kill Effect"
  197.  
  198. command /server:buykilleffect2:
  199. trigger:
  200. if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
  201. if {player::%uuid of player%::game::coins} isn't greater than 7499:
  202. send "&cYou don't have sufficient currencies to purchase &lStrength One Kill Effect"
  203. else:
  204. set {player.%uuid of player%::inventory::killeffects::strength1} to true
  205. remove 7500 from {player::%uuid of player%::game::coins}
  206. send "&ePurchased Strength One Effect"
  207. set {player::%uuid of player%::game::killeffects::strength1} to true
  208. send "&eSelected Strength One Effect"
  209. else:
  210. send "&cYou already own &lStrength One Kill Effect"
  211.  
  212. command /server:buykilleffect3:
  213. trigger:
  214. if {player.%uuid of player%::inventory::killeffects::regen2} isn't set:
  215. if {player::%uuid of player%::game::coins} isn't greater than 9999:
  216. send "&cYou don't have sufficient currencies to purchase &lRegeneration Two Kill Effect"
  217. else:
  218. set {player.%uuid of player%::inventory::killeffects::regen2} to true
  219. remove 10000 from {player::%uuid of player%::game::coins}
  220. send "&ePurchased Regeneration Two Effect"
  221. set {player::%uuid of player%::game::killeffects::regen2} to true
  222. send "&eSelected Regeneration Two Effect"
  223. else:
  224. send "&cYou already own &lRegeneration Two Kill Effect"
  225.  
  226. command /server:effectsshop:
  227. trigger:
  228. wait 3 ticks
  229. open chest with 3 rows named "&8Effects Shop" to player
  230. if {player.%uuid of player%::inventory::effects::speed1} isn't set:
  231. format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect1"]
  232. else:
  233. format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
  234. if {player.%uuid of player%::inventory::effects::speed2} isn't set:
  235. if {player.%uuid of player%::inventory::effects::speed1} isn't set:
  236. format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE SPEED 1 FIRST" to be unstealable
  237. else:
  238. format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&r$45,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect2"]
  239. else:
  240. format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&a&lOWNED" to be unstealable
  241. if {player.%uuid of player%::inventory::effects::strength1} isn't set:
  242. format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&r$55,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect3"]
  243. else:
  244. format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
  245.  
  246. command /server:classshop:
  247. trigger:
  248. wait 3 ticks
  249. open chest with 3 rows named "&8Class Shop" to player
  250. if {player.%uuid of player%::inventory::class::thief} isn't set:
  251. format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass5"]
  252. else:
  253. format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&a&lOWNED" to be unstealable
  254. format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" with lore "||&a&lOWNED" to be unstealable
  255. if {player.%uuid of player%::inventory::class::bard} isn't set:
  256. format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass2"]
  257. else:
  258. format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&a&lOWNED" to be unstealable
  259. if {player.%uuid of player%::inventory::class::balanced} isn't set:
  260. format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&r$30,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass3"]
  261. else:
  262. format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&a&lOWNED" to be unstealable
  263. if {player.%uuid of player%::inventory::class::pyro} isn't set:
  264. format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass4"]
  265. else:
  266. format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&a&lOWNED" to be unstealable
  267.  
  268. command /server:deathanimationshop:
  269. trigger:
  270. wait 3 ticks
  271. open chest with 3 rows named "&8Death Animations Shop" to player
  272. if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
  273. format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&r$2,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation2"]
  274. else:
  275. format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&a&lOWNED" to be unstealable
  276. if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
  277. format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&r$3,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation3"]
  278. else:
  279. format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&a&lOWNED" to be unstealable
  280.  
  281. command /server:buyeffect3:
  282. trigger:
  283. if {player.%uuid of player%::inventory::effects::strength1} isn't set:
  284. if {player::%uuid of player%::game::coins} isn't greater than 54999:
  285. send "&cYou don't have sufficient currencies to purchase &lStrength One Effect"
  286. else:
  287. set {player.%uuid of player%::inventory::effects::strength1} to true
  288. remove 55000 from {player::%uuid of player%::game::coins}
  289. send "&ePurchased Strength One Effect"
  290. set {player::%uuid of player%::game::effects::strength1} to true
  291. send "&eSelected Strength One Effect"
  292. else:
  293. send "&cYou already own &lStrength One Effect"
  294.  
  295. command /server:buyeffect2:
  296. trigger:
  297. if {player.%uuid of player%::inventory::effects::speed2} isn't set:
  298. if {player::%uuid of player%::game::coins} isn't greater than 44999:
  299. send "&cYou don't have sufficient currencies to purchase &lSpeed Two Effect"
  300. else:
  301. set {player.%uuid of player%::inventory::effects::speed2} to true
  302. remove 45000 from {player::%uuid of player%::game::coins}
  303. send "&ePurchased Speed Two Effect"
  304. set {player::%uuid of player%::game::effects::speed1} to true
  305. send "&eSelected Speed Two Effect"
  306. else:
  307. send "&cYou already own &lSpeed Two Effect"
  308.  
  309. command /server:buyeffect1:
  310. trigger:
  311. if {player.%uuid of player%::inventory::effects::speed1} isn't set:
  312. if {player::%uuid of player%::game::coins} isn't greater than 24999:
  313. send "&cYou don't have sufficient currencies to purchase &lSpeed One Effect"
  314. else:
  315. set {player.%uuid of player%::inventory::effects::speed1} to true
  316. remove 25000 from {player::%uuid of player%::game::coins}
  317. send "&ePurchased Speed One Effect"
  318. set {player::%uuid of player%::game::effects::speed1} to true
  319. send "&eSelected Speed One Effect"
  320. else:
  321. send "&cYou already own &lSpeed One Effect"
  322.  
  323. command /server:buydeathanimation2:
  324. trigger:
  325. if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
  326. if {player::%uuid of player%::game::coins} isn't greater than 1999:
  327. send "&cYou don't have sufficient currencies to purchase &lExplosion Effect"
  328. else:
  329. set {player.%uuid of player%::inventory::deathanimation::explosion} to true
  330. remove 2000 from {player::%uuid of player%::game::coins}
  331. send "&ePurchased Explosion Effect"
  332. set {player::%uuid of player%::game::deathanimation::explosion} to true
  333. send "&eSelected Explosion Effect"
  334. else:
  335. send "&cYou already own &lExplosion Effect"
  336.  
  337. command /server:buydeathanimation3:
  338. trigger:
  339. if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
  340. if {player::%uuid of player%::game::coins} isn't greater than 2999:
  341. send "&cYou don't have sufficient currencies to purchase &lBlood Effect"
  342. else:
  343. set {player.%uuid of player%::inventory::deathanimation::blood} to true
  344. remove 3000 from {player::%uuid of player%::game::coins}
  345. send "&ePurchased Blood Effect"
  346. set {player::%uuid of player%::game::deathanimation::blood} to true
  347. send "&eSelected Blood Effect"
  348. else:
  349. send "&cYou already own &lBlood Effect"
  350.  
  351. command /server:buyclass2:
  352. trigger:
  353. if {player.%uuid of player%::inventory::class::bard} isn't set:
  354. if {player::%uuid of player%::game::coins} isn't greater than 19999:
  355. send "&cYou don't have sufficient currencies to purchase &lBard Class"
  356. else:
  357. set {player.%uuid of player%::inventory::class::bard} to true
  358. remove 20000 from {player::%uuid of player%::game::coins}
  359. send "&ePurchased Bard Class"
  360. set {player.%uuid of player%::game::class} to "Bard"
  361. send "&eSelected Bard Class"
  362. else:
  363. send "&cYou already own &lBard Class"
  364.  
  365. command /server:buyclass3:
  366. trigger:
  367. if {player.%uuid of player%::inventory::class::balanced} isn't set:
  368. if {player::%uuid of player%::game::coins} isn't greater than 29999:
  369. send "&cYou don't have sufficient currencies to purchase &lBalanced Class"
  370. else:
  371. set {player.%uuid of player%::inventory::class::balanced} to true
  372. remove 30000 from {player::%uuid of player%::game::coins}
  373. send "&ePurchased Balanced Class"
  374. set {player.%uuid of player%::game::class} to "Balanced"
  375. send "&eSelected Balanced Class"
  376. else:
  377. send "&cYou already own &lBard Class"
  378.  
  379. command /server:buyclass4:
  380. trigger:
  381. if {player.%uuid of player%::inventory::class::pyro} isn't set:
  382. if {player::%uuid of player%::game::coins} isn't greater than 19999:
  383. send "&cYou don't have sufficient currencies to purchase &lPyro Class"
  384. else:
  385. set {player.%uuid of player%::inventory::class::pyro} to true
  386. remove 20000 from {player::%uuid of player%::game::coins}
  387. send "&ePurchased Pyro Class"
  388. set {player.%uuid of player%::game::class} to "Pyro"
  389. send "&eSelected Pyro Class"
  390. else:
  391. send "&cYou already own &lPyro Class"
  392.  
  393. command /server:buyclass5:
  394. trigger:
  395. if {player.%uuid of player%::inventory::class::thief} isn't set:
  396. if {player::%uuid of player%::game::coins} isn't greater than 24999:
  397. send "&cYou don't have sufficient currencies to purchase &lThief Class"
  398. else:
  399. set {player.%uuid of player%::inventory::class::thief} to true
  400. remove 25000 from {player::%uuid of player%::game::coins}
  401. send "&ePurchased Thief Class"
  402. set {player.%uuid of player%::game::class} to "Thief"
  403. send "&eSelected Thief Class"
  404. else:
  405. send "&cYou already own &lThief Class"
  406.  
  407. command /inventory:
  408. aliases: /inv
  409. trigger:
  410. wait 3 ticks
  411. open chest with 3 rows named "&8Inventory" to player
  412. format slot 12 of player with book named "&r&lKILL &rEffects" to close then run [make player execute "/server:invkilleffects"]
  413. format slot 13 of player with book named "&r&lDEATH &rAnimations" to close then run [make player execute "/server:invdeathanimations"]
  414. format slot 14 of player with book named "&r&lPERMANENT &rEffects" to close then run [make player execute "/server:invpermeffects"]
  415.  
  416. command /server:invkilleffects:
  417. trigger:
  418. wait 3 ticks
  419. open chest with 3 rows named "&8Kill Effects" to player
  420. if {player.%uuid of player%::inventory::killeffects::speed1} is true:
  421. format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed2}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Speed One Effect"]
  422. else:
  423. format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  424. if {player.%uuid of player%::inventory::killeffects::regen2} is true:
  425. format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Regeneration Two Effect"]
  426. else:
  427. format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  428. if {player.%uuid of player%::inventory::killeffects::strength1} is true:
  429. format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::regen2}] -> [set {player::%uuid of player%::game::killeffects::strength1} to true] -> [send "&eSelected Strength One Effect"]
  430. else:
  431. format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  432.  
  433. command /server:invpermeffects:
  434. trigger:
  435. wait 3 ticks
  436. open chest with 3 rows named "&8Permanent Effects" to player
  437. if {player.%uuid of player%::inventory::effects::speed1} is true:
  438. format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed2}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed1} to true] -> [send "&eSelected Speed One Effect"]
  439. else:
  440. format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  441. if {player.%uuid of player%::inventory::effects::speed2} is true:
  442. format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed2} to true] -> [send "&eSelected Speed Two Effect"]
  443. else:
  444. format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  445. if {player.%uuid of player%::inventory::effects::strength1} is true:
  446. format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::speed2}] -> [set {player::%uuid of player%::game::effects::strength1} to true] -> [send "&eSelected Strength One Effect"]
  447. else:
  448. format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  449.  
  450.  
  451.  
  452. command /server:invdeathanimations:
  453. trigger:
  454. wait 3 ticks
  455. open chest with 3 rows named "&8Death Animations" to player
  456. if {player.%uuid of player%::inventory::deathanimation::explosion} is true:
  457. format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::blood} to false] -> [set {player::%uuid of player%::game::deathanimation::explosion} to true] -> [send "&eSelected Explosion Effect"]
  458. if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
  459. format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  460. if {player.%uuid of player%::inventory::deathanimation::blood} is true:
  461. format slot 11 of player with red dye named "&r&lBLOOD &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::explosion} to false] -> [set {player::%uuid of player%::game::deathanimation::blood} to true] -> [send "&eSelected Blood Effect"]
  462. if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
  463. format slot 11 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
  464.  
  465.  
  466. command /class:
  467. trigger:
  468. wait 3 ticks
  469. open chest with 3 rows named "&8Class" to player
  470. format slot 11 of player with book named "&r&lTHIEF &rClass" to close then run [make player execute "/server:class5setting"]
  471. format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" to close then run [make player execute "/server:class1setting"]
  472. format slot 13 of player with book named "&r&lBARD &rClass" to close then run [make player execute "/server:class2setting"]
  473. format slot 14 of player with book named "&r&lBALANCED &rClass" to close then run [make player execute "/server:class3setting"]
  474. format slot 15 of player with book named "&r&lPYRO &rClass" to close then run [make player execute "/server:class4setting"]
  475.  
  476. command /server:class5setting:
  477. trigger:
  478. wait 3 ticks
  479. open chest with 4 rows named "&8Class Thief" to player
  480. format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"]
  481. format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"]
  482. if {player.%uuid of player%::game::class} isn't "Thief":
  483. if {player.%uuid of player%::inventory::class::thief} is true:
  484. format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Thief"] -> [send "&eClass Thief Selected."]
  485. else:
  486. format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
  487. else:
  488. format slot 21 of player with enchanted book named "&r&lTHIEF &rClass Selected" to close then run [make player execute "class"]
  489. format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
  490.  
  491. command /server:class4setting:
  492. trigger:
  493. wait 3 ticks
  494. open chest with 4 rows named "&8Class Pyro" to player
  495. format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"]
  496. format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"]
  497. if {player.%uuid of player%::game::class} isn't "Pyro":
  498. if {player.%uuid of player%::inventory::class::pyro} is true:
  499. format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Pyro"] -> [send "&eClass Pyro Selected."]
  500. else:
  501. format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
  502. else:
  503. format slot 21 of player with enchanted book named "&r&lPYRO &rClass Selected" to close then run [make player execute "class"]
  504. format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
  505.  
  506. command /server:class3setting:
  507. trigger:
  508. wait 3 ticks
  509. open chest with 4 rows named "&8Class Balanced" to player
  510. format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"]
  511. format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"]
  512. if {player.%uuid of player%::game::class} isn't "Balanced":
  513. if {player.%uuid of player%::inventory::class::balanced} is true:
  514. format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Balanced"] -> [send "&eClass Balanced Selected."]
  515. else:
  516. format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
  517. else:
  518. format slot 21 of player with enchanted book named "&r&lBALANCED &rClass Selected" to close then run [make player execute "class"]
  519. format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
  520.  
  521. command /server:class2setting:
  522. trigger:
  523. wait 3 ticks
  524. open chest with 4 rows named "&8Class Bard" to player
  525. format slot 10 of player with feather named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"]
  526. format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"]
  527. if {player.%uuid of player%::game::class} isn't "Bard":
  528. if {player.%uuid of player%::inventory::class::bard} is true:
  529. format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Bard"] -> [send "&eClass Bard Selected."]
  530. else:
  531. format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
  532. else:
  533. format slot 21 of player with enchanted book named "&r&lBARD &rClass Selected" to close then run [make player execute "class"]
  534. format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
  535.  
  536. command /server:class1setting:
  537. trigger:
  538. wait 3 ticks
  539. open chest with 4 rows named "&8Class Aggressive" to player
  540. format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"]
  541. format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"]
  542. if {player.%uuid of player%::game::class} isn't "Aggressive":
  543. format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Aggressive"] -> [send "&eClass Aggressive Selected."]
  544. else:
  545. format slot 21 of player with enchanted book named "&r&lAGGRESSIVE &rClass Selected" to close then run [make player execute "class"]
  546. format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
  547.  
  548. command /server:class5:
  549. trigger:
  550. if {commands.%uuid of player%} is set:
  551. stop
  552. else:
  553. if {player::%uuid of player%::game::class::thief::weapon} isn't set:
  554. open chest with 3 rows named "&8Thief Class" to player
  555. format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"] -> [make player execute "server:class5"]
  556. format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"] -> [make player execute "server:class5"]
  557. else:
  558. heal player
  559. set hunger of player to 20
  560. set gamemode of player to survival
  561. set player's helmet to glowing leather helmet of protection 3
  562. set player's chestplate to glowing chainmail chestplate of protection 2
  563. set player's leggings to glowing chainmail leggings of protection 2
  564. set player's boots to glowing leather boots of protection 3
  565. set slot 0 of player to glowing gold sword of sharpness 2 named "&r%player%'s Sword"
  566. set slot 7 of player to 8 golden apples
  567. set slot 8 of player to 10 golden carrots
  568. teleport player to {server.location.arena}
  569. if {player::%uuid of player%::game::class::thief::weapon} is "Speed2":
  570. apply speed 2 to player for 999 days
  571. else if {player::%uuid of player%::game::class::thief::weapon} is "Invis":
  572. set slot 1 of player to 3 water_bottle named "&rInvisibility Potions"
  573.  
  574. command /server:class4:
  575. trigger:
  576. if {commands.%uuid of player%} is set:
  577. stop
  578. else:
  579. if {player::%uuid of player%::game::class::pyro::weapon} isn't set:
  580. open chest with 3 rows named "&8Pyro Class" to player
  581. format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"] -> [make player execute "server:class4"]
  582. format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"] -> [make player execute "server:class4"]
  583. else:
  584. heal player
  585. set hunger of player to 20
  586. set gamemode of player to survival
  587. set player's helmet to glowing chainmail helmet of protection 1
  588. set player's chestplate to glowing iron chestplate of protection 1
  589. set player's leggings to glowing chainmail leggings of protection 1
  590. set player's boots to glowing chainmail boots of protection 1
  591. set slot 0 of player to glowing iron axe of fire aspect 1 named "&r%player%'s Sword"
  592. set slot 7 of player to 8 golden apples
  593. set slot 8 of player to 10 golden carrots
  594. teleport player to {server.location.arena}
  595. if {player::%uuid of player%::game::class::pyro::weapon} is "Speed":
  596. apply speed 1 to player for 999 days
  597. else if {player::%uuid of player%::game::class::pyro::weapon} is "Sharpness":
  598. set slot 0 of player to glowing iron axe of sharpness 1 and fire aspect 1 named "&r%player%'s Sharpned Sword"
  599.  
  600. command /server:class3:
  601. trigger:
  602. if {commands.%uuid of player%} is set:
  603. stop
  604. else:
  605. if {player::%uuid of player%::game::class::balanced::weapon} isn't set:
  606. open chest with 3 rows named "&8Balanced Class" to player
  607. format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"] -> [make player execute "server:class3"]
  608. format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"] -> [make player execute "server:class3"]
  609. else:
  610. heal player
  611. set hunger of player to 20
  612. set gamemode of player to survival
  613. set player's helmet to glowing iron helmet of protection 1
  614. set player's chestplate to glowing iron chestplate
  615. set player's leggings to glowing iron leggings
  616. set player's boots to glowing iron boots of protection 1
  617. set slot 0 of player to glowing stone sword of sharpness 2 named "&r%player%'s Sword"
  618. set slot 7 of player to 8 golden apples
  619. set slot 8 of player to 10 golden carrots
  620. teleport player to {server.location.arena}
  621. if {player::%uuid of player%::game::class::balanced::weapon} is "Speed Potions":
  622. set slot 1 of player to 3 water_bottle named "&rSpeed Potions"
  623. else if {player::%uuid of player%::game::class::balanced::weapon} is "Bow":
  624. set slot 1 of player to bow of power 1 named "&r%player%'s Bow"
  625. set slot 2 of player to 64 arrows
  626.  
  627. command /server:class2:
  628. trigger:
  629. if {commands.%uuid of player%} is set:
  630. stop
  631. else:
  632. if {player::%uuid of player%::game::class::bard::weapon} isn't set:
  633. open chest with 3 rows named "&8Bard Class" to player
  634. format slot 10 of player with iron ingot named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eJUMP &rBoost.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"] -> [make player execute "server:class2"]
  635. format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"] -> [make player execute "server:class2"]
  636. else:
  637. heal player
  638. set hunger of player to 20
  639. set gamemode of player to survival
  640. set player's helmet to glowing golden helmet
  641. set player's chestplate to glowing golden chestplate
  642. set player's leggings to glowing golden leggings
  643. set player's boots to glowing golden boots
  644. set slot 0 of player to glowing iron sword of sharpness 2 named "&r%player%'s Sword"
  645. set slot 5 of player to 3 blaze rods
  646. set slot 6 of player to 3 feathers
  647. set slot 7 of player to 5 golden apples
  648. set slot 8 of player to 10 golden carrots
  649. teleport player to {server.location.arena}
  650. if {player::%uuid of player%::game::class::bard::weapon} is "Jump Boost":
  651. set slot 4 of player to 3 iron ingots
  652. else if {player::%uuid of player%::game::class::bard::weapon} is "Diamond Sword":
  653. set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
  654.  
  655. command /server:class1:
  656. trigger:
  657. if {commands.%uuid of player%} is set:
  658. stop
  659. else:
  660. if {player::%uuid of player%::game::class::aggressive::weapon} isn't set:
  661. open chest with 3 rows named "&8Aggressive Class" to player
  662. format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"] -> [make player execute "server:class1"]
  663. format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"] -> [make player execute "server:class1"]
  664. else:
  665. heal player
  666. set hunger of player to 20
  667. set gamemode of player to survival
  668. set player's helmet to glowing iron helmet
  669. set player's chestplate to glowing iron chestplate
  670. set player's leggings to glowing iron leggings
  671. set player's boots to glowing iron boots
  672. set slot 0 of player to glowing diamond sword named "&r%player%'s Sword"
  673. set slot 7 of player to 10 golden apples
  674. set slot 8 of player to 10 golden carrots
  675. teleport player to {server.location.arena}
  676. if {player::%uuid of player%::game::class::aggressive::weapon} is "Thunder Axe" or "Magic Axe":
  677. set slot 1 of player to golden axe named "&rMagic Axe"
  678. else if {player::%uuid of player%::game::class::aggressive::weapon} is "Diamond Sword":
  679. set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
  680. on respawn:
  681. wait 10 ticks
  682. teleport player to {server::location::spawn}
  683. on death:
  684. if {player::%uuid of attacker%::game::killeffects::speed1} is true:
  685. apply speed 1 to attacker for 5 seconds
  686. else if {player::%uuid of attacker%::game::killeffects::strength1} is true:
  687. apply strength 1 to attacker for 5 seconds
  688. else if {player::%uuid of attacker%::game::killeffects::regen2} is true:
  689. apply regeneration 2 to attacker for 5 seconds
  690.  
  691. on death:
  692. victim is a player:
  693. attacker is a player:
  694. if {player::%uuid of player%::game::unranked::status} is true:
  695. clear drops
  696. send "&6&l+50 COINS" to attacker
  697. set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
  698. add 1 to {player::%uuid of attacker%::game::kills}
  699. add 1 to {player::%uuid of attacker%::game::killstreak}
  700. add 50 to {player::%uuid of attacker%::game::coins}
  701. add 1 to {player::%uuid of victim%::game::deaths}
  702. delete {player::%uuid of victim%::game::killstreak}
  703. if {player::%uuid of victim%::game::deathanimation::blood} is true:
  704. drop 5 red dye at location of victim
  705. drop 5 bone at location of victim
  706. wait 2 seconds
  707. loop all dropped items:
  708. delete loop-value
  709. if {player::%uuid of victim%::game::deathanimation::explosion} is true:
  710. create fake explosion at victim
  711. drop 2 tnt at location of victim
  712. wait 2 seconds
  713. loop all dropped items:
  714. delete loop-value
  715. else:
  716. clear drops
  717. set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
  718. on respawn:
  719. if {player::%uuid of player%::game::unranked::status} is true:
  720. make player execute "unranked"
  721. make player execute "spawn"
  722. on pickup of red dye:
  723. if {player::%uuid of player%::game::unranked::status} is true:
  724. cancel event
  725. on pickup of bone:
  726. if {player::%uuid of player%::game::unranked::status} is true:
  727. cancel event
  728. on pickup:
  729. if {player::%uuid of player%::game::unranked::status} is true:
  730. cancel event
  731. on break:
  732. if {player::%uuid of player%::game::unranked::status} is true:
  733. cancel event
  734. on place:
  735. if {player::%uuid of player%::game::unranked::status} is true:
  736. cancel event
  737. on drop:
  738. if {player::%uuid of player%::game::unranked::status} is true:
  739. cancel event
  740.  
  741. on rightclick:
  742. if player's tool is a blaze rod:
  743. remove 1 blaze rod from player
  744. apply strength 2 to player for 5 seconds
  745. if player's tool is a feather:
  746. remove 1 feather from player
  747. apply speed 2 to player for 10 seconds
  748. if player's tool is a iron ingot:
  749. remove 1 iron ingot from player
  750. apply jump boost 3 to player for 5 seconds
  751. if player's tool is a water_bottle:
  752. if name of player's tool is "&rSpeed Potions":
  753. remove 1 water_bottle named "&rSpeed Potions" from player
  754. apply speed 1 to player for 2 minutes
  755. if player's tool is a water_bottle:
  756. if name of player's tool is "&rInvisibility Potions":
  757. remove 1 water_bottle named "&rInvisibility Potions" from player
  758. hide the player from all players
  759. loop 5 times:
  760. reveal the player from all players
  761. wait 2.5 seconds
  762. hide the player from all players
  763. wait 2.5 seconds
  764. reveal the player from all players
  765. send "&elINVISIBILITY was wore off."
  766.  
  767. on leftclick:
  768. if player's tool is a golden axe named "&rMagic Axe":
  769. cancel event
  770. if {player::%uuid of player%::game::item::magicaxe::cooldown} isn't set:
  771. chance of 33%:
  772. apply strength 2 to player for 2 seconds
  773. chance of 33%:
  774. apply strength 1 to player for 2 seconds
  775. chance of 33%:
  776. apply poison 1 to player for 2 seconds
  777. set {player::%uuid of player%::game::item::magicaxe::cooldown} to 5
  778. wait 1 second
  779. set {player::%uuid of player%::game::item::magicaxe::cooldown} to 4
  780. wait 1 second
  781. set {player::%uuid of player%::game::item::magicaxe::cooldown} to 3
  782. wait 1 second
  783. set {player::%uuid of player%::game::item::magicaxe::cooldown} to 2
  784. wait 1 second
  785. set {player::%uuid of player%::game::item::magicaxe::cooldown} to 1
  786. wait 1 second
  787. delete {player::%uuid of player%::game::item::magicaxe::cooldown}
  788. else:
  789. send "&cYou still have a &e&lMagic Axe &ccooldown for another %{player::%uuid of player%::game::item::magicaxe::cooldown}% seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement