Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.83 KB | None | 0 0
  1. on command "kits":
  2. cancel event
  3. make player execute "kit"
  4.  
  5. command /kit:
  6. permission: skript.kit
  7. trigger:
  8. open virtual chest inventory with size 6 named "&b[&3&l&oCOMBATANTS&b] &6Kits" to player
  9. set {_lore} to "&3Status: &a&lUNLOCKED"
  10. format gui slot 11 of player with oak sign named "&fHound" with lore "&3Cost: &eFREE" and "%{_lore}%" to run:
  11. make player execute "/hound"
  12.  
  13. #------------------------------------------------------------------------------------------------------
  14.  
  15. if player has permission "bomber.kit":
  16. set {_lore} to "&3Status: &a&lUNLOCKED"
  17. else:
  18. set {_lore} to "&3Status: &c&lLOCKED"
  19. format gui slot 12 of player with oak sign named "&cBomber" with lore "&3Cost: &e250 &6CC" and "%{_lore}%" to run:
  20. if {combatcoins::%player%} >= 250:
  21. make console execute "/pex user %player% add bomber.kit"
  22. make player execute "/bomber"
  23. else:
  24. send "not enough moneys" to player
  25. #BOMBER
  26. #------------------------------------------------------------------------------------------------------
  27.  
  28. if player has permission "cerberus.kit":
  29. set {_lore} to "&3Status: &a&lUNLOCKED"
  30. else:
  31. set {_lore} to "&3Status: &c&lLOCKED"
  32. format gui slot 13 of player with oak sign named "&6Cerberus" with lore "&3Cost: &e350 &6CC" and "%{_lore}%" to run:
  33. make player execute "/cerberus"
  34. #CERBERUS
  35. #------------------------------------------------------------------------------------------------------
  36.  
  37. if player has permission "poseidon.kit":
  38. set {_lore} to "&3Status: &a&lUNLOCKED"
  39. else:
  40. set {_lore} to "&3Status: &c&lLOCKED"
  41. format gui slot 14 of player with oak sign named "&bPoseidon" with lore "&3Cost: &e450 &6CC" and "%{_lore}%" to run:
  42. make player execute "/poseidon"
  43. #POSEIDON
  44. #------------------------------------------------------------------------------------------------------
  45.  
  46. if player has permission "eagle.kit":
  47. set {_lore} to "&3Status: &a&lUNLOCKED"
  48. else:
  49. set {_lore} to "&3Status: &c&lLOCKED"
  50. format gui slot 15 of player with oak sign named "&7Eagle" with lore "&3Cost: &e600 &6CC" and "%{_lore}%" to run:
  51. make player execute "/eagle"
  52. #EAGLE
  53. #------------------------------------------------------------------------------------------------------
  54.  
  55. if player has permission "miner.kit":
  56. set {_lore} to "&3Status: &a&lUNLOCKED"
  57. else:
  58. set {_lore} to "&3Status: &c&lLOCKED"
  59. format gui slot 20 of player with oak sign named "&aMiner" with lore "&3Cost: &e750 &6CC" and "%{_lore}%" to run:
  60. make player execute "/miner"
  61.  
  62. #------------------------------------------------------------------------------------------------------
  63.  
  64. if player has permission "ninja.kit":
  65. set {_lore} to "&3Status: &a&lUNLOCKED"
  66. else:
  67. set {_lore} to "&3Status: &c&lLOCKED"
  68. format gui slot 21 of player with oak sign named "&dNinja" with lore "&3Cost: &e850 &6CC" and "%{_lore}%" to run:
  69. make player execute "/ninja"
  70.  
  71. #------------------------------------------------------------------------------------------------------
  72.  
  73. if player has permission "swapper.kit":
  74. set {_lore} to "&3Status: &a&lUNLOCKED"
  75. else:
  76. set {_lore} to "&3Status: &c&lLOCKED"
  77. format gui slot 22 of player with oak sign named "&9Swapper" with lore "&3Cost: &e1000 &6CC" and "%{_lore}%" to run:
  78. make player execute "/swapper"
  79. #------------------------------------------------------------------------------------------------------
  80.  
  81. if player has permission "thor.kit":
  82. set {_lore} to "&3Status: &a&lUNLOCKED"
  83. else:
  84. set {_lore} to "&3Status: &c&lLOCKED"
  85. format gui slot 23 of player with oak sign named "&fThor" with lore "&3Cost: &e2500 &6CC" and "%{_lore}%" to run:
  86. make player execute "thor"
  87.  
  88. #------------------------------------------------------------------------------------------------------
  89.  
  90. if player has permission "kleptomaniac.kit":
  91. set {_lore} to "&3Status: &a&lUNLOCKED"
  92. else:
  93. set {_lore} to "&3Status: &c&lLOCKED"
  94. format gui slot 24 of player with oak sign named "&eKleptomaniac" with lore "&3Cost: &e3000 &6CC" and "%{_lore}%" to run:
  95. make player execute "kleptomaniac"
  96.  
  97. #------------------------------------------------------------------------------------------------------
  98.  
  99. format gui slot 0 of player with black glass pane named " " with no NBT to run:
  100. cancel event
  101.  
  102. format gui slot 1 of player with gray glass pane named " " with no NBT to run:
  103. cancel event
  104.  
  105. format gui slot 2 of player with gray glass pane named " " with no NBT to run:
  106. cancel event
  107.  
  108. format gui slot 3 of player with gray glass pane named " " with no NBT to run:
  109. cancel event
  110.  
  111. format gui slot 4 of player with gray glass pane named " " with no NBT to run:
  112. cancel event
  113.  
  114. format gui slot 5 of player with gray glass pane named " " with no NBT to run:
  115. cancel event
  116.  
  117. format gui slot 6 of player with gray glass pane named " " with no NBT to run:
  118. cancel event
  119.  
  120. format gui slot 7 of player with gray glass pane named " " with no NBT to run:
  121. cancel event
  122.  
  123. format gui slot 8 of player with black glass pane named " " with no NBT to run:
  124. cancel event
  125.  
  126. format gui slot 9 of player with gray glass pane named " " with no NBT to run:
  127. cancel event
  128.  
  129. format gui slot 10 of player with red glass pane named " " with no NBT to run:
  130. cancel event
  131.  
  132. format gui slot 16 of player with red glass pane named " " with no NBT to run:
  133. cancel event
  134.  
  135. format gui slot 17 of player with gray glass pane named " " with no NBT to run:
  136. cancel event
  137.  
  138. format gui slot 18 of player with gray glass pane named " " with no NBT to run:
  139. cancel event
  140.  
  141. format gui slot 19 of player with iron bars named " " with no NBT to run:
  142. cancel event
  143.  
  144. format gui slot 25 of player with iron bars named " " with no NBT to run:
  145. cancel event
  146.  
  147. format gui slot 26 of player with gray glass pane named " " with no NBT to run:
  148. cancel event
  149.  
  150. format gui slot 27 of player with gray glass pane named " " with no NBT to run:
  151. cancel event
  152.  
  153. format gui slot 28 of player with iron bars named " " with no NBT to run:
  154. cancel event
  155.  
  156. format gui slot 29 of player with barrier named "&cKits coming soon!" with no NBT to run:
  157. cancel event
  158.  
  159. format gui slot 30 of player with barrier named "&cKits coming soon!" with no NBT to run:
  160. cancel event
  161.  
  162. format gui slot 31 of player with barrier named "&cKits coming soon!" with no NBT to run:
  163. cancel event
  164.  
  165. format gui slot 32 of player with barrier named "&cKits coming soon!" with no NBT to run:
  166. cancel event
  167.  
  168. format gui slot 33 of player with barrier named "&cKits coming soon!" with no NBT to run:
  169. cancel event
  170.  
  171. format gui slot 34 of player with iron bars named " " with no NBT to run:
  172. cancel event
  173.  
  174. format gui slot 35 of player with gray glass pane named " " with no NBT to run:
  175. cancel event
  176.  
  177. format gui slot 36 of player with gray glass pane named " " with no NBT to run:
  178. cancel event
  179.  
  180. format gui slot 37 of player with red glass pane named " " with no NBT to run:
  181. cancel event
  182.  
  183. format gui slot 38 of player with barrier named "&cKits coming soon!" with no NBT to run:
  184. cancel event
  185.  
  186. format gui slot 39 of player with barrier named "&cKits coming soon!" with no NBT to run:
  187. cancel event
  188.  
  189. format gui slot 40 of player with barrier named "&cKits coming soon!" with no NBT to run:
  190. cancel event
  191.  
  192. format gui slot 41 of player with barrier named "&cKits coming soon!" with no NBT to run:
  193. cancel event
  194.  
  195. format gui slot 42 of player with barrier named "&cKits coming soon!" with no NBT to run:
  196. cancel event
  197.  
  198. format gui slot 43 of player with red glass pane named " " with no NBT to run:
  199. cancel event
  200.  
  201. format gui slot 44 of player with gray glass pane named " " with no NBT to run:
  202. cancel event
  203.  
  204. format gui slot 45 of player with black glass pane named " " with no NBT to run:
  205. cancel event
  206.  
  207. format gui slot 46 of player with gray glass pane named " " with no NBT to run:
  208. cancel event
  209.  
  210. format gui slot 47 of player with gray glass pane named " " with no NBT to run:
  211. cancel event
  212.  
  213. format gui slot 48 of player with gray glass pane named " " with no NBT to run:
  214. cancel event
  215.  
  216. format gui slot 49 of player with gray glass pane named " " with no NBT to run:
  217. cancel event
  218.  
  219. format gui slot 50 of player with gray glass pane named " " with no NBT to run:
  220. cancel event
  221.  
  222. format gui slot 51 of player with gray glass pane named " " with no NBT to run:
  223. cancel event
  224.  
  225. format gui slot 52 of player with gray glass pane named " " with no NBT to run:
  226. cancel event
  227.  
  228. format gui slot 53 of player with black glass pane named " " with no NBT to run:
  229. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement