Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.63 KB | None | 0 0
  1. options:
  2. P: &3&lTwitt&6&lHub &7» &a
  3.  
  4. command /throw <player>:
  5. permission: rank.admin
  6. trigger:
  7. push arg-1 upward with force 3
  8. push arg-1 forward with force 10
  9. message "{@P}&aYou have thrown &c%arg-1%"
  10. message "{@P}&aYou have been thrown by &c%player%" to arg-1
  11.  
  12. command /ride <player>:
  13. permission: rank.admin
  14. trigger:
  15. if player is arg-1:
  16. send "{@P}&aDon't crash the server!"
  17. stop
  18. make player ride arg-1
  19. send "{@P}&aYou are now riding &c%arg-1%"
  20. send "{@P}&aYou are being ridden by &c%player%" to arg-1
  21.  
  22. on server ping:
  23. set motd to "&aB&co&at &cw&aa&cs &ah&ce&ar&ce&a!%nl%&a&oIf you're reading this, I love you."
  24. set max player count to 1
  25.  
  26. on join:
  27. if player has permission "rank.sponsor" or "rank.premium" or "rank.vip" or "rank.moderator" or "rank.admin":
  28. execute console command "/fly %event-player% on"
  29. wait 5 ticks
  30. if {hat::%player%} is set:
  31. execute console command "hat %{hat::%player%}% %player%"
  32.  
  33. on skript load:
  34. delete {discoarmor::*}
  35.  
  36.  
  37. on quit:
  38. delete {discoarmor::%player%}
  39. delete {discoarmor::cooldown::%player%}
  40.  
  41. command /discoarmor:
  42. permission: rank.sponsor
  43. permission message: &aYou must have &cSponsor&a to use the Disco Armor!
  44. trigger:
  45. if {discoarmor::%player%} is not set:
  46. set {_cooldown} to difference between {discoarmor::cooldown::%player%} and now
  47. if {_cooldown} is less than 15 seconds:
  48. set {_cooldown} to difference between {_cooldown} and 15 seconds
  49. set {_cooldown2} to "%{_cooldown}%" parsed as text
  50. replace all " seconds" in {_cooldown2} with ""
  51. set {_cooldown3} to {_cooldown2} parsed as number
  52. set {_cooldown4} to rounded down {_cooldown3}
  53. send "{@P}&aPlease wait &c%{_cooldown4}% seconds &ato use this."
  54. stop
  55. send "{@P}&aDisco Armour enabled."
  56. set {discoarmor::%player%} to true
  57. set helmet of player to leather helmet
  58. set chestplate of player to leather chestplate
  59. set leggings of player to leather leggings
  60. set boots of player to leather boots
  61. wait 1 tick
  62. if {hat::%player%} is set:
  63. execute console command "hat %{hat::%player%}% %player%"
  64. while {discoarmor::%player%} is true:
  65. {discoarmor::%player%} is true
  66. dye player's helmet (201, 31, 22)
  67. dye player's chestplate (201, 31, 22)
  68. dye player's leggings (201, 31, 22)
  69. dye player's boots (201, 31, 22)
  70. wait 1 ticks
  71. dye player's helmet (204, 54, 21)
  72. dye player's chestplate (204, 54, 21)
  73. dye player's leggings (204, 54, 21)
  74. dye player's boots (204, 54, 21)
  75. wait 1 ticks
  76. dye player's helmet (217, 88, 14)
  77. dye player's chestplate (217, 88, 14)
  78. dye player's leggings (217, 88, 14)
  79. dye player's boots (217, 88, 14)
  80. wait 1 ticks
  81. dye player's helmet (221, 104, 11)
  82. dye player's chestplate (221, 104, 11)
  83. dye player's leggings (221, 104, 11)
  84. dye player's boots (221, 104, 11)
  85. wait 1 ticks
  86. dye player's helmet (230, 134, 1)
  87. dye player's chestplate (230, 134, 1)
  88. dye player's leggings (230, 134, 1)
  89. dye player's boots (230, 134, 1)
  90. wait 1 ticks
  91. dye player's helmet (238, 173, 0)
  92. dye player's chestplate (238, 173, 0)
  93. dye player's leggings (238, 173, 0)
  94. dye player's boots (238, 173, 0)
  95. wait 1 ticks
  96. dye player's helmet (252, 207, 3)
  97. dye player's chestplate (252, 207, 3)
  98. dye player's leggings (252, 207, 3)
  99. dye player's boots (252, 207, 3)
  100. wait 1 ticks
  101. dye player's helmet (237, 228, 0)
  102. dye player's chestplate (237, 228, 0)
  103. dye player's leggings (237, 228, 0)
  104. dye player's boots (237, 228, 0)
  105. wait 1 ticks
  106. dye player's helmet (206, 213, 0)
  107. dye player's chestplate (206, 213, 0)
  108. dye player's leggings (206, 213, 0)
  109. dye player's boots (206, 213, 0)
  110. wait 1 ticks
  111. dye player's helmet (176, 197, 15)
  112. dye player's chestplate (176, 197, 15)
  113. dye player's leggings (176, 197, 15)
  114. dye player's boots (176, 197, 15)
  115. wait 1 ticks
  116. dye player's helmet (143, 187, 12)
  117. dye player's chestplate (143, 187, 12)
  118. dye player's leggings (143, 187, 12)
  119. dye player's boots (143, 187, 12)
  120. wait 1 ticks
  121. dye player's helmet (119, 179, 18)
  122. dye player's chestplate (119, 179, 18)
  123. dye player's leggings (119, 179, 18)
  124. dye player's boots (119, 179, 18)
  125. wait 1 ticks
  126. dye player's helmet (105, 176, 17)
  127. dye player's chestplate (105, 176, 17)
  128. dye player's leggings (105, 176, 17)
  129. dye player's boots (105, 176, 17)
  130. wait 1 ticks
  131. dye player's helmet (71, 164, 30)
  132. dye player's chestplate (71, 164, 30)
  133. dye player's leggings (71, 164, 30)
  134. dye player's boots (71, 164, 30)
  135. wait 1 ticks
  136. dye player's helmet (45, 156, 31)
  137. dye player's chestplate (45, 156, 31)
  138. dye player's leggings (45, 156, 31)
  139. dye player's boots (45, 156, 31)
  140. wait 1 ticks
  141. dye player's helmet (24, 148, 37)
  142. dye player's chestplate (24, 148, 37)
  143. dye player's leggings (24, 148, 37)
  144. dye player's boots (24, 148, 37)
  145. wait 1 ticks
  146. dye player's helmet (8, 131, 67)
  147. dye player's chestplate (8, 131, 67)
  148. dye player's leggings (8, 131, 67)
  149. dye player's boots (8, 131, 67)
  150. wait 1 ticks
  151. dye player's helmet (14, 140, 98)
  152. dye player's chestplate (14, 140, 98)
  153. dye player's leggings (14, 140, 98)
  154. dye player's boots (14, 140, 98)
  155. wait 1 ticks
  156. dye player's helmet (5, 148, 157)
  157. dye player's chestplate (5, 148, 157)
  158. dye player's leggings (5, 148, 157)
  159. dye player's boots (5, 148, 157)
  160. wait 1 ticks
  161. dye player's helmet (8, 148, 182)
  162. dye player's chestplate (8, 148, 182)
  163. dye player's leggings (8, 148, 182)
  164. dye player's boots (8, 148, 182)
  165. wait 1 ticks
  166. dye player's helmet (31, 154, 215)
  167. dye player's chestplate (31, 154, 215)
  168. dye player's leggings (31, 154, 215)
  169. dye player's boots (31, 154, 215)
  170. wait 1 ticks
  171. dye player's helmet (13, 132, 196)
  172. dye player's chestplate (13, 132, 196)
  173. dye player's leggings (13, 132, 196)
  174. dye player's boots (13, 132, 196)
  175. wait 1 ticks
  176. dye player's helmet (3, 99, 163)
  177. dye player's chestplate (3, 99, 163)
  178. dye player's leggings (3, 99, 163)
  179. dye player's boots (3, 99, 163)
  180. wait 1 ticks
  181. dye player's helmet (9, 74, 145)
  182. dye player's chestplate (9, 74, 145)
  183. dye player's leggings (9, 74, 145)
  184. dye player's boots (9, 74, 145)
  185. wait 1 ticks
  186. dye player's helmet (17, 50, 121)
  187. dye player's chestplate (17, 50, 121)
  188. dye player's leggings (17, 50, 121)
  189. dye player's boots (17, 50, 121)
  190. wait 1 ticks
  191. dye player's helmet (24, 35, 105)
  192. dye player's chestplate (24, 35, 105)
  193. dye player's leggings (24, 35, 105)
  194. dye player's boots (24, 35, 105)
  195. wait 1 ticks
  196. dye player's helmet (29, 18, 89)
  197. dye player's chestplate (29, 18, 89)
  198. dye player's leggings (29, 18, 89)
  199. dye player's boots (29, 18, 89)
  200. wait 1 ticks
  201. dye player's helmet (49, 12, 90)
  202. dye player's chestplate (49, 12, 90)
  203. dye player's leggings (49, 12, 90)
  204. dye player's boots (49, 12, 90)
  205. wait 1 ticks
  206. dye player's helmet (91, 11, 90)
  207. dye player's chestplate (91, 11, 90)
  208. dye player's leggings (91, 11, 90)
  209. dye player's boots (91, 11, 90)
  210. wait 1 ticks
  211. dye player's helmet (130, 0, 96)
  212. dye player's chestplate (130, 0, 96)
  213. dye player's leggings (130, 0, 96)
  214. dye player's boots (130, 0, 96)
  215. wait 1 ticks
  216. dye player's helmet (174, 9, 100)
  217. dye player's chestplate (174, 9, 100)
  218. dye player's leggings (174, 9, 100)
  219. dye player's boots (174, 9, 100)
  220. wait 1 ticks
  221. dye player's helmet (197, 0, 89)
  222. dye player's chestplate (197, 0, 89)
  223. dye player's leggings (197, 0, 89)
  224. dye player's boots (197, 0, 89)
  225. wait 1 ticks
  226. dye player's helmet (197, 10, 42)
  227. dye player's chestplate (197, 10, 42)
  228. dye player's leggings (197, 10, 42)
  229. dye player's boots (197, 10, 42)
  230. wait 1 ticks
  231. else:
  232. send "{@P}&aDisco Armour disabled."
  233. delete {discoarmor::%player%}
  234. set helmet of player to air
  235. set chestplate of player to air
  236. set leggings of player to air
  237. set boots of player to air
  238. wait 1 tick
  239. if {hat::%player%} is set:
  240. execute console command "hat %{hat::%player%}% %player%"
  241. set {discoarmor::cooldown::%player%} to now
  242. stop
  243.  
  244. command /perkgui <player>:
  245. permission: rank.admin
  246. permission message: &aYou must have &cSponsor&a to use the perks!
  247. trigger:
  248. send "{@P}&aOpening &cPerks&a..." to arg-1
  249. wait 5 ticks
  250. open chest with 3 rows named "&3&lPerks" to arg-1
  251. wait 1 tick
  252. set {_n} to 0
  253. loop 27 times:
  254. format slot {_n} of arg-1 with 1 black stained glass named "&a" to be unstealable
  255. add 1 to {_n}
  256. format slot 18 of arg-1 with 1 black stained glass named "&a" with lore "||&cWhy are you even reading all of these?" to be unstealable
  257. format slot 8 of arg-1 with 1 black stained glass named "&a" with lore "||&cNotABot was here!" to be unstealable
  258. format slot 3 of arg-1 with 1 red stained glass named "&4Coming soon!" with lore "||&cWhat will it be?" to be unstealable
  259. format slot 5 of arg-1 with 1 red stained glass named "&4Coming soon!" with lore "||&cWhat will it be?" to be unstealable
  260. format slot 21 of arg-1 with 1 red stained glass named "&4Coming soon!" with lore "||&cWhat will it be?" to be unstealable
  261. format slot 23 of arg-1 with 1 red stained glass named "&4Coming soon!" with lore "||&cWhat will it be?" to be unstealable
  262. format slot 11 of arg-1 with 1 grass block named "&3Hats" with lore "||&aYou need &cSponsor+&a to use this!" to close then run "hatsgui %arg-1%"
  263. format slot 13 of arg-1 with 1 nether star named "&3Trails" with lore "||&aYou need &cPremium&a to use this!" to close then run "trailsgui %arg-1%"
  264. format slot 15 of arg-1 with 1 leather named "&3Disco Armor" with lore "||&aYou need &cSponsor+&a to use this!" to close then run "sudo %arg-1% discoarmor"
  265.  
  266. command /trailsgui <player>:
  267. permission: rank.admin
  268. permission message: &aYou must have &cPremium&a to use the trails!
  269. trigger:
  270. wait 5 ticks
  271. open chest with 3 rows named "&3&lTrails" to arg-1
  272. wait 1 tick
  273. format slot 0 of arg-1 with 1 firework star named "&aExplode" to close then run [make arg-1 execute command "pp explode"]->[send "{@P}&aTrail set to &cExplode" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  274. format slot 1 of arg-1 with 1 firework rocket named "&aFirework Spark" to close then run [make arg-1 execute command "pp fireworksspark"]->[send "{@P}&aTrail set to &cFirework Spark" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  275. format slot 2 of arg-1 with 1 ice named "&aWake" to close then run [make arg-1 execute command "pp wake"]->[send "{@P}&aTrail set to &cWake" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  276. format slot 3 of arg-1 with 1 diamond sword named "&aCritical" to close then run [make arg-1 execute command "pp crit"]->[send "{@P}&aTrail set to &cCritical" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  277. format slot 4 of arg-1 with 1 diamond sword of unbreaking 10 named "&aMagic Critical" to close then run [make arg-1 execute command "pp magiccrit"]->[send "{@P}&aTrail set to &cMagic Critical" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  278. format slot 5 of arg-1 with 1 torch named "&aSmoke" to close then run [make arg-1 execute command "pp smoke"]->[send "{@P}&aTrail set to &cSmoke" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  279. format slot 6 of arg-1 with 1 fire charge named "&aLarge Smoke" to close then run [make arg-1 execute command "pp largesmoke"]->[send "{@P}&aTrail set to &cLarge Smoke" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  280. format slot 7 of arg-1 with 1 splash potion:16391 named "&aSpell" to close then run [make arg-1 execute command "pp spell"]->[send "{@P}&aTrail set to &cSpell" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  281. format slot 8 of arg-1 with 1 bottle o' enchanting named "&aInstant Spell" to close then run [make arg-1 execute command "pp instantspell"]->[send "{@P}&aTrail set to &cInstant Spell" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  282. format slot 9 of arg-1 with 1 coal item named "&aMob Spell" to close then run [make arg-1 execute command "pp mobspell"]->[send "{@P}&aTrail set to &cMob Spell" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  283. format slot 10 of arg-1 with 1 charcoal named "&aMob Spell Ambient" to close then run [make arg-1 execute command "pp mobspellambient"]->[send "{@P}&aTrail set to &cMob Spell Ambient" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  284. format slot 11 of arg-1 with 1 magenta dye named "&aWitch Magic" to close then run [make arg-1 execute command "pp witchmagic"]->[send "{@P}&aTrail set to &cWitch Magic" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  285. format slot 12 of arg-1 with 1 water bucket named "&aDrip Water" to close then run [make arg-1 execute command "pp dripwater"]->[send "{@P}&aTrail set to &cDrip Water" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  286. format slot 13 of arg-1 with 1 lava bucket named "&aDrip Lava" to close then run [make arg-1 execute command "pp driplava"]->[send "{@P}&aTrail set to &cDrip Lava" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  287. format slot 14 of arg-1 with 1 rotten flesh named "&aAngry Villager" to close then run [make arg-1 execute command "pp angryvillager"]->[send "{@P}&aTrail set to &cAngry Villager" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  288. format slot 15 of arg-1 with 1 emerald named "&aHappy Villager" to close then run [make arg-1 execute command "pp happyvillager"]->[send "{@P}&aTrail set to &cHappy Villager" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  289. format slot 16 of arg-1 with 1 note block named "&aNote" to close then run [make arg-1 execute command "pp note"]->[send "{@P}&aTrail set to &cNote" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  290. format slot 17 of arg-1 with 1 enchantment table named "&aEnchantment" to close then run [make arg-1 execute command "pp enchantmenttable"]->[send "{@P}&aTrail set to &cEnchantment" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  291. format slot 18 of arg-1 with 1 arrow named "&cBack" with lore "||&bClick to go back to the perks.||&0" to close then run "perkgui %arg-1%"
  292. format slot 19 of arg-1 with 1 blaze powder named "&aFlame" to close then run [make arg-1 execute command "pp flame"]->[send "{@P}&aTrail set to &cFlame" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  293. format slot 20 of arg-1 with 1 lava bucket of unbreaking 10 named "&aLava" to close then run [make arg-1 execute command "pp lava"]->[send "{@P}&aTrail set to &cLava" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  294. format slot 21 of arg-1 with 1 redstone named "&aRed Dust" to close then run [make arg-1 execute command "pp reddust"]->[send "{@P}&aTrail set to &cRed Dust" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  295. format slot 22 of arg-1 with 1 slimeball named "&aSlime" to close then run [make arg-1 execute command "pp slime"]->[send "{@P}&aTrail set to &cSlime" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  296. format slot 23 of arg-1 with 1 poppy named "&aHeart" to close then run [make arg-1 execute command "pp heart"]->[send "{@P}&aTrail set to &cHeart" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  297. format slot 24 of arg-1 with 1 water bottle named "&aDroplet" to close then run [make arg-1 execute command "pp droplet"]->[send "{@P}&aTrail set to &cDroplet" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  298. format slot 25 of arg-1 with 1 nether star named "&aRainbow" to close then run [make arg-1 execute command "pp rainbow"]->[send "{@P}&aTrail set to &cRainbow" to arg-1]->[send "&c&oMake sure your particles are on in your settings" to arg-1]
  299. format slot 26 of arg-1 with 1 ender pearl of unbreaking 10 named "&cRemove Particles" with lore "||&bClick to remove particles.||&0" to close then run [make arg-1 execute command "pp clear"]->[send "&aTrail removed" to arg-1]
  300.  
  301. command /hatsgui <player>:
  302. permission: rank.admin
  303. permission message: &aYou must have &cSponsor&a to use the hats!
  304. trigger:
  305. wait 5 ticks
  306. open chest with 5 rows named "&3&lHat Selector" to arg-1
  307. wait 1 tick
  308. format slot 0 of arg-1 with 1 dirt named "&aDirt Hat" to close then run "hat 1 %arg-1%"
  309. format slot 1 of arg-1 with 1 stone named "&aStone Hat" to close then run "hat 2 %arg-1%"
  310. format slot 2 of arg-1 with 1 cobblestone named "&aCobble Hat" to close then run "hat 3 %arg-1%"
  311. format slot 3 of arg-1 with 1 mossy cobblestone named "&aMossy Hat" to close then run "hat 4 %arg-1%"
  312. format slot 4 of arg-1 with 1 fancy stone brick named "&aChiseled Brick Hat" to close then run "hat 5 %arg-1%"
  313. format slot 5 of arg-1 with 1 brick block named "&aBrick Hat" to close then run "hat 6 %arg-1%"
  314. format slot 6 of arg-1 with 1 note block named "&aNote Block" to close then run "hat 7 %arg-1%"
  315. format slot 7 of arg-1 with 1 ice named "&aIce" to close then run "hat 8 %arg-1%"
  316. format slot 8 of arg-1 with 1 bedrock named "&aBedrock" to close then run "hat 9 %arg-1%"
  317. format slot 9 of arg-1 with 1 melon named "&aMelon Hat" to close then run "hat 10 %arg-1%"
  318. format slot 10 of arg-1 with 1 jack-o-lantern named "&aJack o'Lantern" to close then run "hat 11 %arg-1%"
  319. format slot 11 of arg-1 with 1 tnt named "&aTNT" to close then run "hat 12 %arg-1%"
  320. format slot 12 of arg-1 with 1 snow block named "&aSnow" to close then run "hat 13 %arg-1%"
  321. format slot 13 of arg-1 with 1 daylight sensor named "&aDaylight Sensor" to close then run "hat 14 %arg-1%"
  322. format slot 14 of arg-1 with 1 nether brick block named "&aNether Brick" to close then run "hat 15 %arg-1%"
  323. format slot 15 of arg-1 with 1 glowstone named "&aGlowstone" to close then run "hat 16 %arg-1%"
  324. format slot 16 of arg-1 with 1 obsidian named "&aObsidian" to close then run "hat 17 %arg-1%"
  325. format slot 17 of arg-1 with 1 end stone named "&aEnd Stone" to close then run "hat 18 %arg-1%"
  326. format slot 18 of arg-1 with 1 diamond block named "&aDiamond Block" to close then run "hat 19 %arg-1%"
  327. format slot 19 of arg-1 with 1 emerald block named "&aEmerald Block" to close then run "hat 20 %arg-1%"
  328. format slot 20 of arg-1 with 1 gold block named "&aGold Block" to close then run "hat 21 %arg-1%"
  329. format slot 21 of arg-1 with 1 iron block named "&aIron Block" to close then run "hat 22 %arg-1%"
  330. format slot 22 of arg-1 with 1 lapis block named "&aLapis Block" to close then run "hat 23 %arg-1%"
  331. format slot 23 of arg-1 with 1 redstone block named "&aRedstone" to close then run "hat 24 %arg-1%"
  332. format slot 24 of arg-1 with 1 quartz block named "&aQuartz Block" to close then run "hat 25 %arg-1%"
  333. format slot 25 of arg-1 with 1 packed ice named "&aPacked Ice" to close then run "hat 26 %arg-1%"
  334. format slot 26 of arg-1 with 1 block of coal named "&bCoal" to close then run "hat 27 %arg-1%"
  335. format slot 27 of arg-1 with 1 locked chest:0 named "&aWhite Glass" to close then run "hat 28 %arg-1%"
  336. format slot 28 of arg-1 with 1 locked chest:1 named "&aOrange Glass" to close then run "hat 29 %arg-1%"
  337. format slot 29 of arg-1 with 1 locked chest:2 named "&aMagenta Glass" to close then run "hat 30 %arg-1%"
  338. format slot 30 of arg-1 with 1 locked chest:3 named "&aLight Blue Glass" to close then run "hat 31 %arg-1%"
  339. format slot 31 of arg-1 with 1 locked chest:4 named "&aYellow Glass" to close then run "hat 32 %arg-1%"
  340. format slot 32 of arg-1 with 1 locked chest:5 named "&aLime Glass" to close then run "hat 33 %arg-1%"
  341. format slot 33 of arg-1 with 1 locked chest:6 named "&aPink Glass" to close then run "hat 34 %arg-1%"
  342. format slot 34 of arg-1 with 1 locked chest:7 named "&aGray Glass" to close then run "hat 35 %arg-1%"
  343. format slot 35 of arg-1 with 1 locked chest:8 named "&aLight Gray Glass" to close then run "hat 36 %arg-1%"
  344. format slot 36 of arg-1 with 1 arrow named "&cBack" with lore "||&bClick to go back to the perks.||&0" to close then run "perkgui %arg-1%"
  345. format slot 37 of arg-1 with 1 locked chest:9 named "&aCyan Glass" to close then run "hat 37 %arg-1%"
  346. format slot 38 of arg-1 with 1 locked chest:10 named "&aPurple Glass" to close then run "hat 38 %arg-1%"
  347. format slot 39 of arg-1 with 1 locked chest:11 named "&aBlue Glass" to close then run "hat 39 %arg-1%"
  348. format slot 40 of arg-1 with 1 locked chest:12 named "&aBrown Glass" to close then run "hat 40 %arg-1%"
  349. format slot 41 of arg-1 with 1 locked chest:13 named "&aGreen Glass" to close then run "hat 41 %arg-1%"
  350. format slot 42 of arg-1 with 1 locked chest:14 named "&aRed Glass" to close then run "hat 42 %arg-1%"
  351. format slot 43 of arg-1 with 1 locked chest:15 named "&aBlack Glass" to close then run "hat 43 %arg-1%"
  352. format slot 44 of arg-1 with 1 ender pearl of unbreaking 10 named "&cRemove Hat" to close then run "hat none %arg-1%"
  353.  
  354. command /hat <text> <player>:
  355. permission: rank.admin
  356. permission message:&aPlease use the Hat GUI to access hats.
  357. trigger:
  358. wait 1 tick
  359. if argument 1 is "1":
  360. set helmet of argument 2 to dirt named "&bDirt"
  361. send "{@P}&aHat set to &f'&cDirt&f'" to argument 2
  362. set {hat::%argument 2%} to 1
  363. if argument 1 is "2":
  364. set helmet of argument 2 to stone named "&bStone"
  365. send "{@P}&aHat set to &f'&cStone&f'" to argument 2
  366. set {hat::%argument 2%} to 2
  367. if argument 1 is "3":
  368. set helmet of argument 2 to cobblestone named "&bCobblestone"
  369. send "{@P}&aHat set to &f'&cCobblestone&f'" to argument 2
  370. set {hat::%argument 2%} to 3
  371. if argument 1 is "4":
  372. set helmet of argument 2 to mossy cobblestone named "&bMossy Cobblestone"
  373. send "{@P}&aHat set to &f'&cMossy Cobblestone&f'" to argument 2
  374. set {hat::%argument 2%} to 4
  375. if argument 1 is "5":
  376. set helmet of argument 2 to fancy stone brick named "&bChiseled Brick"
  377. send "{@P}&aHat set to &f'&cChiseled Brick&f'" to argument 2
  378. set {hat::%argument 2%} to 5
  379. if argument 1 is "6":
  380. set helmet of argument 2 to brick block named "&bBrick"
  381. send "{@P}&aHat set to &f'&cBrick&f'" to argument 2
  382. set {hat::%argument 2%} to 6
  383. if argument 1 is "7":
  384. set helmet of argument 2 to note block named "&bNote Block"
  385. send "{@P}&aHat set to &f'&cNote Block&f'" to argument 2
  386. set {hat::%argument 2%} to 7
  387. if argument 1 is "8":
  388. set helmet of argument 2 to ice named "&bIce"
  389. send "{@P}&aHat set to &f'&cIce&f'" to argument 2
  390. set {hat::%argument 2%} to 8
  391. if argument 1 is "9":
  392. set helmet of argument 2 to bedrock named "&bBedrock"
  393. send "{@P}&aHat set to &f'&cBedrock&f'" to argument 2
  394. set {hat::%argument 2%} to 9
  395. if argument 1 is "10":
  396. set helmet of argument 2 to melon named "&bMelon"
  397. send "{@P}&aHat set to &f'&cMelon&f'" to argument 2
  398. set {hat::%argument 2%} to 10
  399. if argument 1 is "11":
  400. set helmet of argument 2 to jack-o-lantern named "&bJack o'Lantern"
  401. send "{@P}&aHat set to &f'&cJack o'Lantern&f'" to argument 2
  402. set {hat::%argument 2%} to 11
  403. if argument 1 is "12":
  404. set helmet of argument 2 to tnt named "&bTNT"
  405. send "{@P}&aHat set to &f'&cTNT&f'" to argument 2
  406. set {hat::%argument 2%} to 12
  407. if argument 1 is "13":
  408. set helmet of argument 2 to snow block named "&bSnow"
  409. send "{@P}&aHat set to &f'&cSnow&f'" to argument 2
  410. set {hat::%argument 2%} to 13
  411. if argument 1 is "14":
  412. set helmet of argument 2 to daylight sensor named "&bMCSG Tryhard" with lore "||&cAKA Bane"
  413. send "{@P}&aHat set to &f'&cDaylight Sensor&f'" to argument 2
  414. set {hat::%argument 2%} to 14
  415. if argument 1 is "15":
  416. set helmet of argument 2 to nether brick block named "&bNether Brick"
  417. send "{@P}&aHat set to &f'&cNether Brick&f'" to argument 2
  418. set {hat::%argument 2%} to 15
  419. if argument 1 is "16":
  420. set helmet of argument 2 to glowstone named "&bGlowstone"
  421. send "{@P}&aHat set to &f'&cGlowstone&f'" to argument 2
  422. set {hat::%argument 2%} to 16
  423. if argument 1 is "17":
  424. set helmet of argument 2 to obsidian named "&bObsidian"
  425. send "{@P}&aHat set to &f'&cObsidian&f'" to argument 2
  426. set {hat::%argument 2%} to 17
  427. if argument 1 is "18":
  428. set helmet of argument 2 to end stone named "&bEnd Stone"
  429. send "{@P}&aHat set to &f'&cEnd Stone&f'" to argument 2
  430. set {hat::%argument 2%} to 18
  431. if argument 1 is "19":
  432. set helmet of argument 2 to diamond block named "&bDiamond"
  433. send "{@P}&aHat set to &f'&cDiamond&f'" to argument 2
  434. set {hat::%argument 2%} to 19
  435. if argument 1 is "20":
  436. set helmet of argument 2 to emerald block named "&bEmerald"
  437. send "{@P}&aHat set to &f'&cEmerald&f'" to argument 2
  438. set {hat::%argument 2%} to 20
  439. if argument 1 is "21":
  440. set helmet of argument 2 to gold block named "&bGold"
  441. send "{@P}&aHat set to &f'&cGold&f'" to argument 2
  442. set {hat::%argument 2%} to 21
  443. if argument 1 is "22":
  444. set helmet of argument 2 to iron block named "&bIron"
  445. send "{@P}&aHat set to &f'&cIron&f'" to argument 2
  446. set {hat::%argument 2%} to 22
  447. if argument 1 is "23":
  448. set helmet of argument 2 to lapis block named "&bLapis"
  449. send "{@P}&aHat set to &f'&cLapis&f'" to argument 2
  450. set {hat::%argument 2%} to 23
  451. if argument 1 is "24":
  452. set helmet of argument 2 to redstone block named "&bRedstone"
  453. send "{@P}&aHat set to &f'&cRedstone&f'" to argument 2
  454. set {hat::%argument 2%} to 24
  455. if argument 1 is "25":
  456. set helmet of argument 2 to quartz block named "&bQuartz"
  457. send "{@P}&aHat set to &f'&cQuartz&f'" to argument 2
  458. set {hat::%argument 2%} to 25
  459. if argument 1 is "26":
  460. set helmet of argument 2 to packed ice named "&bPacked Ice"
  461. send "{@P}&aHat set to &f'&cPacked Ice&f'" to argument 2
  462. set {hat::%argument 2%} to 26
  463. if argument 1 is "27":
  464. set helmet of argument 2 to block of coal named "&bCoal"
  465. send "{@P}&aHat set to &f'&cCoal&f'" to argument 2
  466. set {hat::%argument 2%} to 27
  467. if argument 1 is "28":
  468. set helmet of argument 2 to locked chest:0 named "&bWhite Glass"
  469. send "{@P}&aHat set to &f'&cWhite Glass&f'" to argument 2
  470. set {hat::%argument 2%} to 28
  471. if argument 1 is "29":
  472. set helmet of argument 2 to locked chest:1 named "&bOrange Glass"
  473. send "{@P}&aHat set to &f'&cOrange Glass&f'" to argument 2
  474. set {hat::%argument 2%} to 29
  475. if argument 1 is "30":
  476. set helmet of argument 2 to locked chest:2 named "&bMagenta Glass"
  477. send "{@P}&aHat set to &f'&cMagenta Glass&f'" to argument 2
  478. set {hat::%argument 2%} to 30
  479. if argument 1 is "31":
  480. set helmet of argument 2 to locked chest:3 named "&bLight Blue Glass"
  481. send "{@P}&aHat set to &f'&cLight Blue Glass&f'" to argument 2
  482. set {hat::%argument 2%} to 31
  483. if argument 1 is "32":
  484. set helmet of argument 2 to locked chest:4 named "&bYellow Glass"
  485. send "{@P}&aHat set to &f'&cYellow Glass&f'" to argument 2
  486. set {hat::%argument 2%} to 32
  487. if argument 1 is "33":
  488. set helmet of argument 2 to locked chest:5 named "&bLime Glass"
  489. send "{@P}&aHat set to &f'&cLime Glass&f'" to argument 2
  490. set {hat::%argument 2%} to 33
  491. if argument 1 is "34":
  492. set helmet of argument 2 to locked chest:6 named "&bPink Glass"
  493. send "{@P}&aHat set to &f'&cPink Glass&f'" to argument 2
  494. set {hat::%argument 2%} to 34
  495. if argument 1 is "35":
  496. set helmet of argument 2 to locked chest:7 named "&bGray Glass"
  497. send "{@P}&aHat set to &f'&cGray Glass&f'" to argument 2
  498. set {hat::%argument 2%} to 35
  499. if argument 1 is "36":
  500. set helmet of argument 2 to locked chest:8 named "&bLight Gray Glass"
  501. send "{@P}&aHat set to &f'&cLight Gray Glass&f'" to argument 2
  502. set {hat::%argument 2%} to 36
  503. if argument 1 is "37":
  504. set helmet of argument 2 to locked chest:9 named "&bCyan Glass"
  505. send "{@P}&aHat set to &f'&cCyan Glass&f'" to argument 2
  506. set {hat::%argument 2%} to 37
  507. if argument 1 is "38":
  508. set helmet of argument 2 to locked chest:10 named "&bPurple Glass"
  509. send "{@P}&aHat set to &f'&cPurple Glass&f'" to argument 2
  510. set {hat::%argument 2%} to 38
  511. if argument 1 is "39":
  512. set helmet of argument 2 to locked chest:11 named "&bBlue Glass"
  513. send "{@P}&aHat set to &f'&cBlue Glass&f'" to argument 2
  514. set {hat::%argument 2%} to 39
  515. if argument 1 is "40":
  516. set helmet of argument 2 to locked chest:12 named "&bBrown Glass"
  517. send "{@P}&aHat set to &f'&cBrown Glass&f'" to argument 2
  518. set {hat::%argument 2%} to 40
  519. if argument 1 is "41":
  520. set helmet of argument 2 to locked chest:13 named "&bGreen Glass"
  521. send "{@P}&aHat set to &f'&cGreen Glass&f'" to argument 2
  522. set {hat::%argument 2%} to 41
  523. if argument 1 is "42":
  524. set helmet of argument 2 to locked chest:14 named "&bRed Glass"
  525. send "{@P}&aHat set to &f'&cRed Glass&f'" to argument 2
  526. set {hat::%argument 2%} to 42
  527. if argument 1 is "43":
  528. set helmet of argument 2 to locked chest:15 named "&bBlack Glass"
  529. send "{@P}&aHat set to &f'&cBlack Glass&f'" to argument 2
  530. set {hat::%argument 2%} to 43
  531. if argument 1 is "none":
  532. if helmet of argument 2 is air:
  533. send "{@P}&aYou don't have a hat to remove!" to argument 2
  534. else:
  535. set helmet of argument 2 to air
  536. send "{@P}&aHat removed." to argument 2
  537. if {discoarmor::%argument 2%} is true:
  538. set helmet of argument 2 to a leather helmet
  539. delete {hat::%argument 2%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement