NoHacksJustACow

shop.sk

Jan 21st, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.11 KB | None | 0 0
  1. command /shop:
  2. trigger:
  3. open virtual chest inventory with size 3 named "&d&lShop" to player
  4. set {_h1} to "MHF_Cow" parsed as offline player
  5. set {_h2} to "MHF_Melon" parsed as offline player
  6. set {_h3} to "MHF_Chest" parsed as offline player
  7. set {_h4} to "MHF_Cactus" parsed as offline player
  8. set {_h5} to "MHF_Villager" parsed as offline player
  9. set {_h6} to "MHF_Squid" parsed as offline player
  10. set {_h7} to "Blopdsand" parsed as offline player
  11. set {_h8} to "Jott" parsed as offline player
  12. set {_h9} to "MHF_CoconutB" parsed as offline player
  13. set {_h10} to "Santa" parsed as offline player
  14. set {_h11} to "Mercury777" parsed as offline player
  15. set {_h12} to "Terence" parsed as offline player
  16. set {_h13} to "MHF_TnT2" parsed as offline player
  17. set {_h14} to "MHF_Slime" parsed as offline player
  18. set {_h15} to "Shrek" parsed as offline player
  19. set {_p} to "%player%" parsed as offline player
  20. make gui slot 1 of player with black glass with name "&l" to do nothing
  21. make gui slot 2 of player with black glass with name "&l" to do nothing
  22. make gui slot 3 of player with black glass with name "&l" to do nothing
  23. make gui slot 4 of player with black glass with name "&l" to do nothing
  24. make gui slot 5 of player with black glass with name "&l" to do nothing
  25. make gui slot 6 of player with black glass with name "&l" to do nothing
  26. make gui slot 7 of player with black glass with name "&l" to do nothing
  27. make gui slot 8 of player with black glass with name "&l" to do nothing
  28. make gui slot 9 of player with black glass with name "&l" to do nothing
  29. make gui slot 0 of player with black glass with name "&l" to do nothing
  30. make gui slot 18 of player with black glass with name "&l" to do nothing
  31. make gui slot 20 of player with black glass with name "&l" to do nothing
  32. make gui slot 21 of player with black glass with name "&l" to do nothing
  33. make gui slot 22 of player with black glass with name "&l" to do nothing
  34. make gui slot 22 of player with black glass with name "&l" to do nothing
  35. make gui slot 23 of player with black glass with name "&l" to do nothing
  36. make gui slot 24 of player with black glass with name "&l" to do nothing
  37. make gui slot 25 of player with black glass with name "&l" to do nothing
  38. make gui slot 26 of player with black glass with name "&l" to do nothing
  39. make gui slot 17 of player with black glass with name "&l" to do nothing
  40. make gui slot 11 of player with black glass with name "&l" to do nothing
  41. make gui slot 19 of player with black glass with name "&l" to do nothing
  42. make gui slot 15 of player with black glass with name "&l" to do nothing
  43. make gui slot 13 of player with black glass with name "&l" to do nothing
  44. #Trails
  45. make gui slot 12 of player with blaze powder with name "&c&lTrails" to run:
  46. open virtual chest with 3 rows named "&8&lCustom Trails" to player
  47. make gui slot 1 of player with black glass with name "&l" to do nothing
  48. make gui slot 2 of player with black glass with name "&l" to do nothing
  49. make gui slot 3 of player with black glass with name "&l" to do nothing
  50. make gui slot 4 of player with black glass with name "&l" to do nothing
  51. make gui slot 5 of player with black glass with name "&l" to do nothing
  52. make gui slot 6 of player with black glass with name "&l" to do nothing
  53. make gui slot 7 of player with black glass with name "&l" to do nothing
  54. make gui slot 8 of player with black glass with name "&l" to do nothing
  55. make gui slot 9 of player with black glass with name "&l" to do nothing
  56. make gui slot 0 of player with black glass with name "&l" to do nothing
  57. make gui slot 17 of player with black glass with name "&l" to do nothing
  58. make gui slot 18 of player with black glass with name "&l" to do nothing
  59. make gui slot 19 of player with black glass with name "&l" to do nothing
  60. make gui slot 20 of player with black glass with name "&l" to do nothing
  61. make gui slot 21 of player with black glass with name "&l" to do nothing
  62. make gui slot 22 of player with black glass with name "&l" to do nothing
  63. make gui slot 23 of player with black glass with name "&l" to do nothing
  64. make gui slot 24 of player with black glass with name "&l" to do nothing
  65. make gui slot 25 of player with black glass with name "&l" to do nothing
  66. make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
  67. make player execute command "shop"
  68.  
  69. make gui slot 10 of player with golden apple named "&c&lHeart Trail" with lore "&eBuy a Heart Trail for 5 skulls" to close:
  70. if {Skulls::%player%} >= 5:
  71. remove 5 from {Skulls::%player%}
  72. broadcast "&3%player% &7has purchased &c&lHeart Trail &7from /shop!"
  73. make console execute command "/pex user %player% add heart.trails"
  74. stop
  75. if {Skulls::%player%} < 5:
  76. send "&7You don’t have enough skulls!"
  77.  
  78. make gui slot 11 of player with redstone named "&4&lRedstone Trail" with lore "&eBuy a Redstone Trail for 5 skulls" to close:
  79. if {Skulls::%player%} >= 5:
  80. remove 5 from {Skulls::%player%}
  81. broadcast "&3%player% &7has purchased &4&lRedstone Trail &7from /shop!"
  82. make console execute command "/pex user %player% add redstone.trails"
  83. stop
  84. if {Skulls::%player%} < 5:
  85. send "&7You don’t have enough skulls!"
  86.  
  87. make gui slot 12 of player with flint and steel named "&c&lFlame Trail" with lore "&eBuy a Flame Trail for 5 skulls" to close:
  88. if {Skulls::%player%} >= 5:
  89. remove 5 from {Skulls::%player%}
  90. broadcast "&3%player% &7has purchased &c&lFlame Trail &7from /shop!"
  91. make console execute command "/pex user %player% add flame.trails"
  92. stop
  93. if {Skulls::%player%} < 5:
  94. send "&7You don’t have enough skulls!"
  95.  
  96. make gui slot 13 of player with ender pearl named "&d&lPortal Trail" with lore "&eBuy a Portal Trail for 5 skulls" to close:
  97. if {Skulls::%player%} >= 5:
  98. remove 5 from {Skulls::%player%}
  99. broadcast "&3%player% &7has purchased &d&lPortal Trail &7from /shop!"
  100. make console execute command "/pex user %player% add portal.trails"
  101. stop
  102. if {Skulls::%player%} < 5:
  103. send "&7You don’t have enough skulls!"
  104.  
  105. make gui slot 14 of player with snowball named "&f&lCloud Trail" with lore "&eBuy a Cloud Trail for 5 skulls" to close:
  106. if {Skulls::%player%} >= 5:
  107. remove 5 from {Skulls::%player%}
  108. broadcast "&3%player% &7has purchased &f&lCloud Trail &7from /shop!"
  109. make console execute command "/pex user %player% add cloud.trails"
  110. stop
  111. if {Skulls::%player%} < 5:
  112. send "&7You don’t have enough skulls!"
  113.  
  114. #Hats
  115. make gui slot 14 of player with {_p}'s skull named "&c&lHats" to run:
  116. open virtual chest with 5 rows named "&c&lHats" to player
  117. format slot 0 of player with black glass named "&l " to close
  118. format slot 1 of player with black glass named "&l " to close
  119. format slot 2 of player with black glass named "&l " to close
  120. format slot 3 of player with black glass named "&l " to close
  121. format slot 4 of player with black glass named "&l " to close
  122. format slot 5 of player with black glass named "&l " to close
  123. format slot 6 of player with black glass named "&l " to close
  124. format slot 7 of player with black glass named "&l " to close
  125. format slot 8 of player with black glass named "&l " to close
  126. format slot 9 of player with black glass named "&l " to close
  127. format slot 17 of player with black glass named "&l " to close
  128. format slot 18 of player with black glass named "&l " to close
  129. format slot 26 of player with black glass named "&l " to close
  130. format slot 27 of player with black glass named "&l " to close
  131. format slot 35 of player with black glass named "&l " to close
  132. format slot 36 of player with black glass named "&l " to close
  133. format slot 37 of player with black glass named "&l " to close
  134. format slot 38 of player with black glass named "&l " to close
  135. format slot 39 of player with black glass named "&l " to close
  136. format slot 40 of player with black glass named "&l " to close
  137. format slot 41 of player with black glass named "&l " to close
  138. format slot 42 of player with black glass named "&l " to close
  139. format slot 43 of player with black glass named "&l " to close
  140. make gui slot 44 of player with arrow named "&c&lBack To Shop" to run:
  141. make player execute command "shop"
  142. #slot 10-16
  143. make gui slot 10 of player with {_h1}'s skull named "&7&lCow" with lore "&31 Skull" to run:
  144. if {Skulls::%player%} >= 1:
  145. remove 1 from {Skulls::%player%}
  146. broadcast "&3%player% &7has purchased the &7&lCow Head &7from /shop!"
  147. make console execute command "/pex user %player% add cow.hat"
  148. stop
  149. else:
  150. if {Skulls::%player%} < 1:
  151. send "&7You don’t have enough skulls!"
  152.  
  153. make gui slot 11 of player with {_h2}'s skull named "&a&lMelon" with lore "&31 Skull" to run:
  154. if {Skulls::%player%} >= 1:
  155. remove 1 from {Skulls::%player%}
  156. broadcast "&3%player% &7has purchased the &a&lMelon Head &7from /shop!"
  157. make console execute command "/pex user %player% add Melon.hat"
  158. stop
  159. else:
  160. if {Skulls::%player%} < 1:
  161. send "&7You don’t have enough skulls!"
  162.  
  163. make gui slot 12 of player with {_h3}'s skull named "&6&lChest" with lore "&31 Skull" to run:
  164. if {Skulls::%player%} >= 1:
  165. remove 1 from {Skulls::%player%}
  166. broadcast "&3%player% &7has purchased the &6&lChest Head &7from /shop!"
  167. make console execute command "/pex user %player% add Chest.hat"
  168. stop
  169. else:
  170. if {Skulls::%player%} < 1:
  171. send "&7You don’t have enough skulls!"
  172.  
  173. make gui slot 13 of player with {_h4}'s skull named "&2&lCactus" with lore "&31 Skull" to run:
  174. if {Skulls::%player%} >= 1:
  175. remove 1 from {Skulls::%player%}
  176. broadcast "&3%player% &7has purchased the &2&lCactus Head &7from /shop!"
  177. make console execute command "/pex user %player% add Cactus.hat"
  178. stop
  179. else:
  180. if {Skulls::%player%} < 1:
  181. send "&7You don’t have enough skulls!"
  182.  
  183. make gui slot 14 of player with {_h5}'s skull named "&7&lVillager" with lore "&31 Skull" to run:
  184. if {Skulls::%player%} >= 1:
  185. remove 1 from {Skulls::%player%}
  186. broadcast "&3%player% &7has purchased the &7&lVillager Head &7from /shop!"
  187. make console execute command "/pex user %player% add Villager.hat"
  188. stop
  189. else:
  190. if {Skulls::%player%} < 1:
  191. send "&7You don’t have enough skulls!"
  192.  
  193. make gui slot 15 of player with {_h6}'s skull named "&9&lSquid" with lore "&31 Skull" to run:
  194. if {Skulls::%player%} >= 1:
  195. remove 1 from {Skulls::%player%}
  196. broadcast "&3%player% &7has purchased the &9&lSquid Head &7from /shop!"
  197. make console execute command "/pex user %player% add Squid.hat"
  198. stop
  199. else:
  200. if {Skulls::%player%} < 1:
  201. send "&7You don’t have enough skulls!"
  202.  
  203. make gui slot 16 of player with {_h7}'s skull named "&c&lPokeball" with lore "&31 Skull" to run:
  204. if {Skulls::%player%} >= 1:
  205. remove 1 from {Skulls::%player%}
  206. broadcast "&3%player% &7has purchased the &c&lPokeball Head &7from /shop!"
  207. make console execute command "/pex user %player% add Pokeball.hat"
  208. stop
  209. else:
  210. if {Skulls::%player%} < 1:
  211. send "&7You don’t have enough skulls!"
  212. #Slot 19-25
  213. make gui slot 19 of player with {_h8}'s skull named "&b&lWhale" with lore "&31 Skull" to run:
  214. if {Skulls::%player%} >= 1:
  215. remove 1 from {Skulls::%player%}
  216. broadcast "&3%player% &7has purchased the &b&lWhale Head &7from /shop!"
  217. make console execute command "/pex user %player% add Whale.hat"
  218. stop
  219. else:
  220. if {Skulls::%player%} < 1:
  221. send "&7You don’t have enough skulls!"
  222.  
  223. make gui slot 20 of player with {_h9}'s skull named "&6&lCoconut" with lore "&31 Skull" to run:
  224. if {Skulls::%player%} >= 1:
  225. remove 1 from {Skulls::%player%}
  226. broadcast "&3%player% &7has purchased the &6&lCoconut Head &7from /shop!"
  227. make console execute command "/pex user %player% add Coconut.hat"
  228. stop
  229. else:
  230. if {Skulls::%player%} < 1:
  231. send "&7You don’t have enough skulls!"
  232.  
  233. make gui slot 21 of player with {_h10}'s skull named "&c&lSanta" with lore "&31 Skull" to run:
  234. if {Skulls::%player%} >= 1:
  235. remove 1 from {Skulls::%player%}
  236. broadcast "&3%player% &7has purchased the &c&lSanta Head &7from /shop!"
  237. make console execute command "/pex user %player% add Santa.hat"
  238. stop
  239. else:
  240. if {Skulls::%player%} < 1:
  241. send "&7You don’t have enough skulls!"
  242.  
  243. make gui slot 22 of player with {_h11}'s skull named "&d&lCube" with lore "&31 Skull" to run:
  244. if {Skulls::%player%} >= 1:
  245. remove 1 from {Skulls::%player%}
  246. broadcast "&3%player% &7has purchased the &d&lCube Head &7from /shop!"
  247. make console execute command "/pex user %player% add Cube.hat"
  248. stop
  249. else:
  250. if {Skulls::%player%} < 1:
  251. send "&7You don’t have enough skulls!"
  252.  
  253. make gui slot 23 of player with {_h12}'s skull named "&7&lGunter" with lore "&31 Skull" to run:
  254. if {Skulls::%player%} >= 1:
  255. remove 1 from {Skulls::%player%}
  256. broadcast "&3%player% &7has purchased the &7&lGunter Head &7from /shop!"
  257. make console execute command "/pex user %player% add Gunter.hat"
  258. stop
  259. else:
  260. if {Skulls::%player%} < 1:
  261. send "&7You don’t have enough skulls!"
  262.  
  263. make gui slot 24 of player with {_h13}'s skull named "&c&lTnT" with lore "&31 Skull" to run:
  264. if {Skulls::%player%} >= 1:
  265. remove 1 from {Skulls::%player%}
  266. broadcast "&3%player% &7has purchased the &c&lTnT Head &7from /shop!"
  267. make console execute command "/pex user %player% add tnt.hat"
  268. stop
  269. else:
  270. if {Skulls::%player%} < 1:
  271. send "&7You don’t have enough skulls!"
  272.  
  273. make gui slot 25 of player with {_h14}'s skull named "&a&lSlime" with lore "&31 Skull" to run:
  274. if {Skulls::%player%} >= 1:
  275. remove 1 from {Skulls::%player%}
  276. broadcast "&3%player% &7has purchased the &a&lSlime Head &7from /shop!"
  277. make console execute command "/pex user %player% add Slime.hat"
  278. stop
  279. else:
  280. if {Skulls::%player%} < 1:
  281. send "&7You don’t have enough skulls!"
  282.  
  283. make gui slot 28 of player with {_h15}'s skull named "&a&lShrek" with lore "&31 Skull" to run:
  284. if {Skulls::%player%} >= 1:
  285. remove 1 from {Skulls::%player%}
  286. broadcast "&3%player% &7has purchased the &a&lShrek Head &7from /shop!"
  287. make console execute command "/pex user %player% add Shrek.hat"
  288. stop
  289. else:
  290. if {Skulls::%player%} < 1:
  291. send "&7You don’t have enough skulls!"
  292. #Ranks
  293. make gui slot 10 of player with name_tag with name "&c&lRanks" to run:
  294. open virtual chest inventory with size 3 named "&lRanks" to player
  295. make gui slot 10 of player with diamond with name "&b&lRank I" with lore "&35 Skull" to close:
  296. if {Skulls::%player%} >= 5:
  297. remove 5 from {Skulls::%player%}
  298. broadcast "&3%player% &7has purchased &b&lRankb I &7from /shop!"
  299. make console execute command "/pex user %player% group add Rank_I"
  300. stop
  301. else:
  302. send "&7You don’t have enough skulls"
  303. stop
  304.  
  305. make gui slot 12 of player with diamond with name "&b&lRank II" with lore "&315 Skull" to close:
  306. if {Skulls::%player%} >= 15:
  307. remove 15 from {Skulls::%player%}
  308. broadcast "&3%player% &7has purchased &b&lRank II &7from /shop!"
  309. make console execute command "/pex user %player% group add Rank_II"
  310. stop
  311. else:
  312. send "&7You don’t have enough skulls"
  313. stop
  314.  
  315. make gui slot 14 of player with diamond with name "&b&lRank III" with lore "&340 Skull" to close:
  316. if {Skulls::%player%} >= 40:
  317. remove 40 from {Skulls::%player%}
  318. broadcast "&3%player% &7has purchased &b&lRank III &7from /shop!"
  319. make console execute command "/pex user %player% add Rank_III"
  320. stop
  321. else:
  322. send "&7You don’t have enough skulls"
  323. stop
  324.  
  325. make gui slot 16 of player with diamond with name "&b&lRank IV" with lore "&3120 Skull" to close:
  326. if {Skulls::%player%} >= 90:
  327. remove 90 from {Skulls::%player%}
  328. broadcast "&3%player% &7has purchased &b&lRankIV &7from /shop!"
  329. make console execute command "/pex user %player% group add Rank_IV"
  330. stop
  331. else:
  332. send "&7You don’t have enough skulls"
  333. stop
  334.  
  335. make gui slot 1 of player with black glass with name "&l" to do nothing
  336. make gui slot 2 of player with black glass with name "&l" to do nothing
  337. make gui slot 3 of player with black glass with name "&l" to do nothing
  338. make gui slot 4 of player with black glass with name "&l" to do nothing
  339. make gui slot 5 of player with black glass with name "&l" to do nothing
  340. make gui slot 6 of player with black glass with name "&l" to do nothing
  341. make gui slot 7 of player with black glass with name "&l" to do nothing
  342. make gui slot 8 of player with black glass with name "&l" to do nothing
  343. make gui slot 9 of player with black glass with name "&l" to do nothing
  344. make gui slot 0 of player with black glass with name "&l" to do nothing
  345. make gui slot 19 of player with black glass with name "&l" to do nothing
  346. make gui slot 20 of player with black glass with name "&l" to do nothing
  347. make gui slot 21 of player with black glass with name "&l" to do nothing
  348. make gui slot 22 of player with black glass with name "&l" to do nothing
  349. make gui slot 22 of player with black glass with name "&l" to do nothing
  350. make gui slot 23 of player with black glass with name "&l" to do nothing
  351. make gui slot 24 of player with black glass with name "&l" to do nothing
  352. make gui slot 25 of player with black glass with name "&l" to do nothing
  353. make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
  354. make player execute command "shop"
  355. make gui slot 17 of player with black glass with name "&l" to do nothing
  356. make gui slot 13 of player with black glass with name "&l" to do nothing
  357. make gui slot 11 of player with black glass with name "&l" to do nothing
  358. make gui slot 15 of player with black glass with name "&l" to do nothing
  359. make gui slot 17 of player with black glass with name "&l" to do nothing
  360. make gui slot 18 of player with black glass with name "&l" to do nothing
  361. #tags
  362. make gui slot 16 of player with name_tag with name "&c&lTags" to run:
  363. open virtual chest inventory with size 3 named "&lTags" to player
  364. make gui slot 11 of player with paper with name "&8[&bCowClicks&8]" with lore "&31 Skull" to close:
  365. if {Skulls::%player%} >= 1:
  366. remove 1 from {Skulls::%player%}
  367. broadcast "&3%player% &7has purchased &8[&bCowClicks&8] &7from /shop!"
  368. make console execute command "/pex user %player% add ""cowclicks.tag"""
  369. stop
  370. else:
  371. send "&7You don’t have enough skulls!"
  372. stop
  373.  
  374. make gui slot 13 of player with paper with name "&8[&2Cow&8]" with lore "&31 Skull" to close:
  375. if {Skulls::%player%} >= 1:
  376. remove 1 from {Skulls::%player%}
  377. broadcast "&3%player% &7has purchased &8[&2Cow&8] &7from /shop!"
  378. make console execute command "/pex user %player% add ""cow.tag"""
  379. stop
  380. else:
  381. send "&7You don’t have enough skulls!"
  382. stop
  383.  
  384. make gui slot 15 of player with paper with name "&8[&cRevamp&8]" with lore "&31 Skull" to close:
  385. if {Skulls::%player%} >= 1:
  386. remove 1 from {Skulls::%player%}
  387. broadcast "&3%player% &7has purchased &8[&cRevamp&8] &7from /shop!"
  388. make console execute command "/pex user %player% add ""revamp.tag"""
  389. stop
  390. else:
  391. send "&7You don’t have enough skulls"
  392. stop
  393.  
  394. #===================
  395. #
  396. # Aethetics!
  397. #
  398. #===================
  399.  
  400. make gui slot 1 of player with black glass with name "&l" to do nothing
  401. make gui slot 2 of player with black glass with name "&l" to do nothing
  402. make gui slot 3 of player with black glass with name "&l" to do nothing
  403. make gui slot 4 of player with black glass with name "&l" to do nothing
  404. make gui slot 5 of player with black glass with name "&l" to do nothing
  405. make gui slot 6 of player with black glass with name "&l" to do nothing
  406. make gui slot 7 of player with black glass with name "&l" to do nothing
  407. make gui slot 8 of player with black glass with name "&l" to do nothing
  408. make gui slot 9 of player with black glass with name "&l" to do nothing
  409. make gui slot 0 of player with black glass with name "&l" to do nothing
  410. make gui slot 18 of player with black glass with name "&l" to do nothing
  411. make gui slot 20 of player with black glass with name "&l" to do nothing
  412. make gui slot 21 of player with black glass with name "&l" to do nothing
  413. make gui slot 22 of player with black glass with name "&l" to do nothing
  414. make gui slot 12 of player with black glass with name "&l" to do nothing
  415. make gui slot 23 of player with black glass with name "&l" to do nothing
  416. make gui slot 24 of player with black glass with name "&l" to do nothing
  417. make gui slot 25 of player with black glass with name "&l" to do nothing
  418. make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
  419. make player execute command "shop"
  420. make gui slot 17 of player with black glass with name "&l" to do nothing
  421. make gui slot 10 of player with black glass with name "&l" to do nothing
  422. make gui slot 19 of player with black glass with name "&l" to do nothing
  423. make gui slot 16 of player with black glass with name "&l" to do nothing
  424. make gui slot 14 of player with black glass with name "&l" to do nothing
  425.  
  426.  
  427.  
  428. on command "/shop":
  429. set {_h1} to "MHF_Cow" parsed as offline player
  430. set {_h2} to "MHF_Melon" parsed as offline player
  431. set {_h3} to "MHF_Chest" parsed as offline player
  432. set {_h4} to "MHF_Cactus" parsed as offline player
  433. set {_h5} to "MHF_Villager" parsed as offline player
  434. set {_h6} to "MHF_Squid" parsed as offline player
  435. set {_h7} to "Blopdsand" parsed as offline player
  436. set {_h8} to "Jott" parsed as offline player
  437. set {_h9} to "MHF_CoconutB" parsed as offline player
  438. set {_h10} to "Santa" parsed as offline player
  439. set {_h11} to "Mercury777" parsed as offline player
  440. set {_h12} to "Terence" parsed as offline player
  441. set {_h13} to "MHF_TnT2" parsed as offline player
  442. set {_h14} to "MHF_Slime" parsed as offline player
  443. set {_h15} to "Shrek" parsed as offline player
  444. set {_p} to "%player%" parsed as offline player
Advertisement
Add Comment
Please, Sign In to add comment