ArtzifyHD

HCF Kits

Aug 15th, 2017
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.17 KB | None | 0 0
  1. # Something
  2.  
  3. on sign change:
  4. if player doesn't have permission "hcf.kits":
  5. send "&cYou have insufficient permissions!"
  6. stop
  7. if player has permission "hcf.kits":
  8. line 2 is "[HCF]":
  9. line 3 is "Diamond":
  10. set line 1 to "&7&m---------------------------"
  11. set line 2 to "&7[&c&l*&7]"
  12. set line 3 to "&2&lPvP Class"
  13. set line 4 to "&7&m---------------------------"
  14. stop
  15.  
  16.  
  17. # Something more
  18.  
  19. on rightclick on sign:
  20. line 2 of the clicked block is "&7[&c&l*&7]":
  21. line 3 of the clicked block is "&2&lPvP Class":
  22.  
  23. set {_waited} to difference between {hcf.%player%.lastused} and now
  24. if {_waited} is less than 10 seconds:
  25. message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
  26. set line 1 to "&4ERROR:"
  27. set line 2 to "&7Cant use kit"
  28. set line 3 to "&7for another"
  29. set line 4 to "&3%difference between 10 seconds and {_waited}%"
  30. wait 1 seconds
  31. set line 1 to "&7&m---------------------------"
  32. set line 2 to "&7[&c&l*&7]"
  33. set line 3 to "&2&lPvP Class"
  34. set line 4 to "&7&m---------------------------"
  35. stop
  36. else:
  37. set {hcf.%player%.lastused} to now
  38. wait 3 seconds
  39. set line 3 to "&aKit Activated!"
  40. set slot 0 of player to diamond sword
  41. enchant the player's slot 0 with unbreaking 3
  42. enchant the player's slot 0 with sharpness 1
  43. set slot 1 of player to 16 ender pearl
  44. set slot 2 of player to unextended splash Health potion II item
  45. set slot 3 of player to unextended splash Health potion II item
  46. set slot 4 of player to unextended splash Health potion II item
  47. set slot 5 of player to unextended splash Health potion II item
  48. set slot 6 of player to extended Fire Resistance potion item
  49. set slot 7 of player to unextended Swiftness potion II item
  50. set slot 8 of player to 64 golden carrot
  51. set slot 9 of player to unextended splash Health potion II item
  52. set slot 10 of player to unextended splash Health potion II item
  53. set slot 11 of player to unextended splash Health potion II item
  54. set slot 12 of player to unextended splash Health potion II item
  55. set slot 13 of player to unextended splash Health potion II item
  56. set slot 14 of player to unextended splash Health potion II item
  57. set slot 15 of player to unextended splash Health potion II item
  58. set slot 16 of player to unextended splash Health potion II item
  59. set slot 17 of player to unextended Swiftness potion II item
  60. set slot 18 of player to unextended splash Health potion II item
  61. set slot 19 of player to unextended splash Health potion II item
  62. set slot 20 of player to unextended splash Health potion II item
  63. set slot 21 of player to unextended splash Health potion II item
  64. set slot 22 of player to unextended splash Health potion II item
  65. set slot 23 of player to unextended splash Health potion II item
  66. set slot 24 of player to unextended splash Health potion II item
  67. set slot 24 of player to unextended splash Health potion II item
  68. set slot 25 of player to unextended splash Health potion II item
  69. set slot 26 of player to unextended Swiftness potion II item
  70. set slot 27 of player to unextended splash Health potion II item
  71. set slot 28 of player to unextended splash Health potion II item
  72. set slot 29 of player to unextended splash Health potion II item
  73. set slot 30 of player to unextended splash Health potion II item
  74. set slot 31 of player to unextended splash Health potion II item
  75. set slot 32 of player to unextended splash Health potion II item
  76. set slot 33 of player to unextended splash Health potion II item
  77. set slot 34 of player to unextended splash Health potion II item
  78. set slot 35 of player to unextended Swiftness potion II item
  79. equip player with diamond boots
  80. enchant the player's boots with unbreaking 3
  81. enchant the player's boots with protection 1
  82. enchant the player's boots with feather falling 4
  83. equip player with diamond leggings
  84. enchant the player's leggings with unbreaking 3
  85. enchant the player's leggings with protection 1
  86. equip player with diamond chestplate
  87. enchant the player's chestplate with unbreaking 3
  88. enchant the player's chestplate with protection 1
  89. equip player with diamond helmet
  90. enchant the player's helmet with unbreaking 3
  91. enchant the player's helmet with protection 1
  92. message "&8[&e*&8]&e Succesfully equpied &6PvP &eclass"
  93.  
  94. # Something
  95.  
  96. on sign change:
  97. if player doesn't have permission "hcf.kits":
  98. send "&cYou have insufficient permissions!"
  99. stop
  100. if player has permission "hcf.kits":
  101. line 2 is "[HCF]":
  102. line 3 is "Bard":
  103. set line 1 to "&7&m---------------------------"
  104. set line 2 to "&7[&c&l*&7]"
  105. set line 3 to "&6&lBard Class"
  106. set line 4 to "&7&m---------------------------"
  107. stop
  108.  
  109.  
  110. # Something more
  111.  
  112. on rightclick on sign:
  113. line 2 of the clicked block is "&7[&c&l*&7]":
  114. line 3 of the clicked block is "&6&lBard Class":
  115. set {_waited} to difference between {hcf.%player%.lastused} and now
  116. if {_waited} is less than 10 seconds:
  117. message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
  118. set line 1 to "&4ERROR:"
  119. set line 2 to "&7Cant use kit"
  120. set line 3 to "&7for another"
  121. set line 4 to "&3%difference between 10 seconds and {_waited}%"
  122. wait 1 seconds
  123. set line 1 to "&7&m---------------------------"
  124. set line 2 to "&7[&c&l*&7]"
  125. set line 3 to "&6&lBard Class"
  126. set line 4 to "&7&m---------------------------"
  127. stop
  128. else:
  129. set {hcf.%player%.lastused} to now
  130. wait 3 seconds
  131. set line 3 to "&aKit Activated!"
  132. set slot 0 of player to diamond sword
  133. enchant the player's slot 0 with unbreaking 3
  134. enchant the player's slot 0 with sharpness 1
  135. set slot 1 of player to 16 ender pearl
  136. set slot 2 of player to 64 blaze powder
  137. set slot 3 of player to 32 sugar
  138. set slot 4 of player to 32 iron ingots
  139. set slot 5 of player to 32 ghast tears
  140. set slot 6 of player to unextended splash Health potion II item
  141. set slot 7 of player to unextended splash Health potion II item
  142. set slot 8 of player to 64 golden carrot
  143. set slot 9 of player to unextended splash Health potion II item
  144. set slot 10 of player to unextended splash Health potion II item
  145. set slot 11 of player to unextended splash Health potion II item
  146. set slot 12 of player to unextended splash Health potion II item
  147. set slot 13 of player to unextended splash Health potion II item
  148. set slot 14 of player to unextended splash Health potion II item
  149. set slot 15 of player to unextended splash Health potion II item
  150. set slot 16 of player to unextended splash Health potion II item
  151. set slot 17 of player to unextended splash Health potion II item
  152. set slot 18 of player to unextended splash Health potion II item
  153. set slot 19 of player to unextended splash Health potion II item
  154. set slot 20 of player to unextended splash Health potion II item
  155. set slot 21 of player to unextended splash Health potion II item
  156. set slot 22 of player to unextended splash Health potion II item
  157. set slot 23 of player to unextended splash Health potion II item
  158. set slot 24 of player to unextended splash Health potion II item
  159. set slot 24 of player to unextended splash Health potion II item
  160. set slot 25 of player to unextended splash Health potion II item
  161. set slot 26 of player to unextended splash Health potion II item
  162. set slot 27 of player to unextended splash Health potion II item
  163. set slot 28 of player to unextended splash Health potion II item
  164. set slot 29 of player to unextended splash Health potion II item
  165. set slot 30 of player to unextended splash Health potion II item
  166. set slot 31 of player to unextended splash Health potion II item
  167. set slot 32 of player to unextended splash Health potion II item
  168. set slot 33 of player to unextended splash Health potion II item
  169. set slot 34 of player to unextended splash Health potion II item
  170. set slot 35 of player to unextended splash Health potion II item
  171. equip player with gold boots
  172. enchant the player's boots with unbreaking 3
  173. enchant the player's boots with protection 1
  174. enchant the player's boots with feather falling 4
  175. equip player with gold leggings
  176. enchant the player's leggings with unbreaking 3
  177. enchant the player's leggings with protection 1
  178. equip player with gold chestplate
  179. enchant the player's chestplate with unbreaking 3
  180. enchant the player's chestplate with protection 1
  181. equip player with gold helmet
  182. enchant the player's helmet with unbreaking 3
  183. enchant the player's helmet with protection 1
  184. message "&8[&e*&8]&e Succesfully equpied &6Bard &eclass"
  185.  
  186.  
  187. # Something
  188.  
  189. on sign change:
  190. if player doesn't have permission "hcf.kits":
  191. send "&cYou have insufficient permissions!"
  192. stop
  193. if player has permission "hcf.kits":
  194. line 2 is "[HCF]":
  195. line 3 is "Archer":
  196. set line 1 to "&7&m---------------------------"
  197. set line 2 to "&7[&c&l*&7]"
  198. set line 3 to "&c&lArcher Class"
  199. set line 4 to "&7&m---------------------------"
  200. stop
  201.  
  202.  
  203. # Something more
  204.  
  205. on rightclick on sign:
  206. line 2 of the clicked block is "&7[&c&l*&7]":
  207. line 3 of the clicked block is "&c&lArcher Class":
  208. set {_waited} to difference between {hcf.%player%.lastused} and now
  209. if {_waited} is less than 10 seconds:
  210. message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
  211. set line 1 to "&4ERROR:"
  212. set line 2 to "&7Cant use kit"
  213. set line 3 to "&7for another"
  214. set line 4 to "&3%difference between 10 seconds and {_waited}%"
  215. wait 1 seconds
  216. set line 1 to "&7&m---------------------------"
  217. set line 2 to "&7[&c&l*&7]"
  218. set line 3 to "&c&lArcher Class"
  219. set line 4 to "&7&m---------------------------"
  220. stop
  221. else:
  222. set {hcf.%player%.lastused} to now
  223. wait 3 seconds
  224. set line 3 to "&aKit Activated!"
  225. set slot 0 of player to diamond sword
  226. enchant the player's slot 0 with unbreaking 3
  227. enchant the player's slot 0 with sharpness 1
  228. set slot 1 of player to 16 ender pearl
  229. set slot 2 of player to 64 sugar
  230. set slot 3 of player to unextended splash Health potion II item
  231. set slot 4 of player to unextended splash Health potion II item
  232. set slot 5 of player to unextended splash Health potion II item
  233. set slot 6 of player to unextended splash Health potion II item
  234. set slot 7 of player to unextended splash Health potion II item
  235. set slot 8 of player to 64 golden carrot
  236. set slot 9 of player to bow
  237. set slot 10 of player to unextended splash Health potion II item
  238. set slot 11 of player to unextended splash Health potion II item
  239. set slot 12 of player to unextended splash Health potion II item
  240. set slot 13 of player to unextended splash Health potion II item
  241. set slot 14 of player to unextended splash Health potion II item
  242. set slot 15 of player to unextended splash Health potion II item
  243. set slot 16 of player to unextended splash Health potion II item
  244. set slot 17 of player to unextended splash Health potion II item
  245. set slot 18 of player to unextended splash Health potion II item
  246. set slot 19 of player to unextended splash Health potion II item
  247. set slot 20 of player to unextended splash Health potion II item
  248. set slot 21 of player to unextended splash Health potion II item
  249. set slot 22 of player to unextended splash Health potion II item
  250. set slot 23 of player to unextended splash Health potion II item
  251. set slot 24 of player to unextended splash Health potion II item
  252. set slot 24 of player to unextended splash Health potion II item
  253. set slot 25 of player to unextended splash Health potion II item
  254. set slot 26 of player to unextended splash Health potion II item
  255. set slot 27 of player to unextended splash Health potion II item
  256. set slot 28 of player to unextended splash Health potion II item
  257. set slot 29 of player to unextended splash Health potion II item
  258. set slot 30 of player to unextended splash Health potion II item
  259. set slot 31 of player to unextended splash Health potion II item
  260. set slot 32 of player to unextended splash Health potion II item
  261. set slot 33 of player to unextended splash Health potion II item
  262. set slot 34 of player to unextended splash Health potion II item
  263. set slot 35 of player to unextended splash Health potion II item
  264. equip player with leather boots
  265. enchant the player's boots with unbreaking 3
  266. enchant the player's boots with protection 1
  267. enchant the player's boots with feather falling 4
  268. equip player with leather leggings
  269. enchant the player's leggings with unbreaking 3
  270. enchant the player's leggings with protection 1
  271. equip player with leather chestplate
  272. enchant the player's chestplate with unbreaking 3
  273. enchant the player's chestplate with protection 1
  274. equip player with leather helmet
  275. enchant the player's helmet with unbreaking 3
  276. enchant the player's helmet with protection 1
  277. message "&8[&e*&8]&e Succesfully equpied &6Archer &eclass"
Advertisement
Add Comment
Please, Sign In to add comment