NoHacksJustACow

#Kits

Jan 30th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.21 KB | None | 0 0
  1. command /keys:
  2. trigger:
  3. open virtual chest inventory with size 3 named "&8Keys" to player
  4. make gui slot 0 of player with black glass pane named " " to do nothing
  5. make gui slot 1 of player with black glass pane named " " to do nothing
  6. make gui slot 2 of player with black glass pane named " " to do nothing
  7. make gui slot 3 of player with black glass pane named " " to do nothing
  8. make gui slot 4 of player with black glass pane named " " to do nothing
  9. make gui slot 5 of player with black glass pane named " " to do nothing
  10. make gui slot 6 of player with black glass pane named " " to do nothing
  11. make gui slot 7 of player with black glass pane named " " to do nothing
  12. make gui slot 8 of player with black glass pane named " " to do nothing
  13. make gui slot 9 of player with black glass pane named " " to do nothing
  14. make gui slot 17 of player with black glass pane named " " to do nothing
  15. make gui slot 18 of player with black glass pane named " " to do nothing
  16. make gui slot 19 of player with black glass pane named " " to do nothing
  17. make gui slot 20 of player with black glass pane named " " to do nothing
  18. make gui slot 21 of player with black glass pane named " " to do nothing
  19. make gui slot 22 of player with black glass pane named " " to do nothing
  20. make gui slot 23 of player with black glass pane named " " to do nothing
  21. make gui slot 24 of player with black glass pane named " " to do nothing
  22. make gui slot 25 of player with black glass pane named " " to do nothing
  23. make gui slot 26 of player with black glass pane named " " to do nothing
  24.  
  25.  
  26. set {daily.%player%.lastused} to now
  27. make gui slot 10 of player with tripwire_hook named "&cDaily Key" with lore "&eThis is a 24 Hour key" to run:
  28. set {_waited24} to difference between {24.%player%.lastused} and now
  29. if {_waited24} is less than 24 hours:
  30. message "{@p} &7You have to wait &e%difference between 24 hours and {_waited24}% &7before you can use this command again!"
  31. stop
  32. player doesn't have space for a tripwire_hook:
  33. message "&cYou do not have enough space in your inventory!"
  34. stop
  35.  
  36. execute console command "crate key %player% Daily 1"
  37. send "&eRecieved Daily Key"
  38.  
  39. set {24.%player%.lastused} to now
  40.  
  41. command /admin [<text> [<text>]]:
  42. permission: op
  43. trigger:
  44. if arg-1 is not set:
  45. send "&c/admin <Username> <*, KitName, KeyName>"
  46. if arg-2 is "*":
  47. set {mvp.%arg-1%.lastused} to 50
  48. set {mvp+.%arg-1%.lastused} to 50
  49. set {mvp++.%arg-1%.lastused} to 50
  50. set {24.%arg-1%.lastused} to 50
  51. set {daily.%arg-1%.lastused} to 50
  52. set {vip.%arg-1%.lastused} to 50
  53. set {vip+.%arg-1%.lastused} to 50
  54. set {starter.%arg-1%.lastused} to 50
  55. send "&eResetting Timers"
  56.  
  57. if arg-2 is "24":
  58. set {24.%arg-1%.lastused} to 50
  59. send "&eResetting Time"
  60.  
  61. if arg-2 is "daily":
  62. set {cake.%arg-1%.lastused} to 50
  63. send "&eResetting Time"
  64.  
  65. if arg-2 is "vip":
  66. set {vip.%arg-1%.lastused} to 50
  67. send "&eResetting Time"
  68.  
  69. if arg-2 is "mvp+":
  70. set {vip+.%arg-1%.lastused} to 50
  71.  
  72. if arg-2 is "vip+":
  73. set {vip+.%arg-1%.lastused} to 50
  74.  
  75. if arg-2 is "mvp++":
  76. set {mvp++.%arg-1%.lastused} to 50
  77. send "&eResetting Time"
  78.  
  79. if arg-2 is not set:
  80. send "&c<KitName, KeyName>"
  81.  
  82. command /kit [<text>]:
  83. aliases: /kits
  84. trigger:
  85. if arg-1 is "vip":
  86. if player has permission "vip":
  87. set {_vip} to difference between {vip.%player%.lastused} and now
  88. if {_vip} is less than 24 hours:
  89. message "{@p} &7You have to wait &e%difference between 24 hours and {_vip}% &7before you can use this kit again!"
  90. stop
  91. player doesn't have space for a tripwire_hook:
  92. message "&cYou do not have enough space in your inventory!"
  93. stop
  94.  
  95. execute console command "crate key %player% donor 1"
  96. send "&eRecieved Kit Vip"
  97.  
  98. set {vip.%player%.lastused} to now
  99.  
  100. if arg-1 is not set:
  101. send "&c/kit <rank>"
  102.  
  103. if arg-1 is "vip+":
  104. if player has permission "vip+":
  105. set {_vip+} to difference between {vip+.%player%.lastused} and now
  106. if {_vip+} is less than 24 hours:
  107. message "{@p} &7You have to wait &e%difference between 24 hours and {_vip+}% &7before you can use this kit again!"
  108. stop
  109. player doesn't have space for a tripwire_hook:
  110. message "&cYou do not have enough space in your inventory!"
  111. stop
  112.  
  113. execute console command "crate key %player% donor 2"
  114. send "&eRecieved Kit Vip+"
  115.  
  116. set {vip+.%player%.lastused} to now
  117.  
  118. if arg-1 is "mvp":
  119. if player has permission "mvp":
  120. set {_mvp} to difference between {mvp.%player%.lastused} and now
  121. if {_mvp} is less than 24 hours:
  122. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp}% &7before you can use this kit again!"
  123. stop
  124. player doesn't have space for a tripwire_hook:
  125. message "&cYou do not have enough space in your inventory!"
  126. stop
  127.  
  128.  
  129. execute console command "crate key %player% donor 3"
  130. send "&eRecieved Kit MVP"
  131.  
  132. set {mvp.%player%.lastused} to now
  133.  
  134.  
  135. if arg-1 is "mvp+":
  136. if player has permission "mvp+":
  137. set {_mvp+} to difference between {mvp+.%player%.lastused} and now
  138. if {_mvp+} is less than 24 hours:
  139. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp+}% &7before you can use this kit again!"
  140. stop
  141. player doesn't have space for a tripwire_hook:
  142. message "&cYou do not have enough space in your inventory!"
  143. stop
  144.  
  145. execute console command "crate key %player% donor 4"
  146. send "&eRecieved Kit Mvp+"
  147.  
  148. set {mvp+.%player%.lastused} to now
  149.  
  150.  
  151. if arg-1 is "mvp++":
  152. if player has permission "mvp++":
  153. set {_mvp+} to difference between {mvp++.%player%.lastused} and now
  154. if {_mvp+} is less than 24 hours:
  155. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp++}% &7before you can use this kit again!"
  156. stop
  157. player doesn't have space for a tripwire_hook:
  158. message "&cYou do not have enough space in your inventory!"
  159. stop
  160.  
  161. execute console command "crate key %player% donor 5"
  162. send "&eRecieved Kit Mvp++"
  163.  
  164. set {mvp++.%player%.lastused} to now
  165. command /cooldowns:
  166. trigger:
  167. send "&8&m---------*---------------*------------"
  168. send " "
  169. send "&7Starter Kit: &c%difference between 24 hours and {_starter}%"
  170. send "&a&lVIP Kit: &c%difference between 24 hours and {_vip}%"
  171. send "&a&lVIP&6&l+ &a&lKit: &c%difference between 24 hours and {_vip+}%"
  172. send "&b&lMVP &b&lKit: &c%difference between 24 hours and {_mvp}%"
  173. send "&b&lMVP&c&l+ &b&lKit: &c%difference between 24 hours and {_mvp+}%"
  174. send "&b&lMVP&6&l++ &b&lKit: &c%difference between 24 hours and {_mvp++}%"
  175. send " "
  176. send "&8&m---------*---------------*------------"
Advertisement
Add Comment
Please, Sign In to add comment