ArtzifyHD

Untitled

Feb 23rd, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.68 KB | None | 0 0
  1. command /shop:
  2. trigger:
  3. open virtual chest inventory with size 1 named "&8( &6Categories &8)" for player
  4. format gui slot 1 of player with grass named "&6Blocks" with lore "&7Buy the blocks you need here!" to run function blocks(player)
  5. format gui slot 2 of player with white_glass_block named "&6Colored Blocks" with lore "&7Buy colored blocks and dyes||&7here for your decorative needs!" to run function cblocks(player)
  6. format gui slot 3 of player with steak named "&6Food" with lore "&7Buy food here to satiate your hunger." to run function food(player)
  7. format gui slot 4 of player with mob_spawner named "&6Spawners" with lore "&7Buy monster spawners here!" to run function spawner(player)
  8. format gui slot 5 of player with rotten flesh named "&6Mob Drops" with lore "&7Buy mob drops here!" to run function drops(player)
  9. format gui slot 6 of player with wheat_item named "&6Farming and Misc." with lore "&7Buy farming supplies||&7and miscelaneous items here." to run function farm(player)
  10. format gui slot 7 of player with tripwire hook named "&6Custom Items and Perks" with lore "&7Buy access to commands, ||&7special items, and kits here!" to run function custom(player)
  11.  
  12. function blocks(p: player):
  13. open virtual chest inventory with size 4 named "&8( &6Blocks &8)" for {_p}
  14. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  15. format gui slot 0 of {_p} with 32 grass blocks named "&6Grass" with lore "&7Price: &e$4800" to run function grass({_p})
  16. format gui slot 1 of {_p} with 32 dirt blocks named "&6Dirt" with lore "&7Price: &e$3200" to run function dirt({_p})
  17. format gui slot 2 of {_p} with 32 stone named "&6Stone" with lore "&7Price: &e$6400" to run function stone({_p})
  18. format gui slot 3 of {_p} with 64 cobble stone named "&6Cobblestone" with lore "&7Price: &e$6400" to run function cobble({_p})
  19. format gui slot 4 of {_p} with 64 smooth brick named "&6Stone Bricks" with lore "&7Price: &e$6400" to run function sbricks({_p})
  20. format gui slot 5 of {_p} with 48 andesite named "&6Andesite" with lore "&7Price: &e$6400" to run function and({_p})
  21. format gui slot 6 of {_p} with 48 diorite named "&6Diorite" with lore "&7Price: &e$6400" to run function dior({_p})
  22. format gui slot 7 of {_p} with 48 granite named "&6Granite" with lore "&7Price: &e$6400" to run function gran({_p})
  23. format gui slot 8 of {_p} with 64 gravel named "&6Gravel" with lore "&7Price: &e$3200" to run function grav({_p})
  24. format gui slot 9 of {_p} with 64 sand named "&6Sand" with lore "&7Price: &e$4800" to run function sand({_p})
  25. format gui slot 10 of {_p} with 16 oak logs named "&6Oak Wood" with lore "&7Price: &e$5000" to run function oak({_p})
  26. format gui slot 11 of {_p} with 16 dark oak logs named "&6Dark Oak Wood" with lore "&7Price: &e$7500" to run function doak({_p})
  27. format gui slot 12 of {_p} with 16 spruce logs named "&6Spruce Wood" with lore "&7Price: &e$7500" to run function spruce({_p})
  28. format gui slot 13 of {_p} with 16 birch logs named "&6Birch Wood" with lore "&7Price: &e$6500" to run function birch({_p})
  29. format gui slot 14 of {_p} with 16 acacia logs named "&6Acacia Wood" with lore "&7Price: &e$6500" to run function acac({_p})
  30. format gui slot 15 of {_p} with 2 bookshelves named "&6Bookshelf" with lore "&7Price: &e$5000" to run function book({_p})
  31. format gui slot 16 of {_p} with 64 netherrack named "&6Netherrack" with lore "&7Price: &e$5000" to run function neth({_p})
  32. format gui slot 17 of {_p} with 32 nether brick blocks named "&6Nether Brick" with lore "&7Price: &e$5000" to run function neth2({_p})
  33. format gui slot 18 of {_p} with 64 soul sand named "&6Soul Sand" with lore "&7Price: &e$4800" to run function soul({_p})
  34. format gui slot 19 of {_p} with 32 glowstone named "&6Glowstone" with lore "&7Price: &e$5000" to run function glow({_p})
  35. format gui slot 20 of {_p} with 48 quartz block named "&6Quartz" with lore "&7Price: &e$7200" to run function quartz({_p})
  36. format gui slot 21 of {_p} with 64 prismarine named "&6Prismarine" with lore "&7Price: &e$5000" to run function pris({_p})
  37. format gui slot 22 of {_p} with 64 prismarine bricks named "&6Prismarine Bricks" with lore "&7Price: &e$5000" to run function prisb({_p})
  38. format gui slot 23 of {_p} with 64 dark prismarine named "&6Dark Prismarine" with lore "&7Price: &e$5000" to run function dpris({_p})
  39. format gui slot 24 of {_p} with 32 sea lantern named "&6Sea Lantern" with lore "&7Price: &e$50000" to run function sea({_p})
  40. format gui slot 25 of {_p} with 64 hardened clay named "&6Terracotta" with lore "&7Price: &e$4800" to run function hc({_p})
  41. format gui slot 26 of {_p} with 64 redsand named "&6Red Sand" with lore "&7Price: &e$480" to run function rsand({_p})
  42.  
  43. function grass(p: player):
  44. if {_p}'s balance is less than 4800:
  45. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  46. else:
  47. add 32 grass blocks to the inventory of {_p}
  48. subtract 4800 from {_p}'s balance
  49. send "&6&lVILE &8» &7Bought 32 Grass for &e$4800&7." to {_p}
  50.  
  51. function dirt(p: player):
  52. if {_p}'s balance is less than 3200:
  53. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  54. else:
  55. add 32 dirt to the inventory of {_p}
  56. subtract 3200 from {_p}'s balance
  57. send "&6&lVILE &8» &7Bought 32 Dirt for &e$3200&7." to {_p}
  58.  
  59. function stone(p: player):
  60. if {_p}'s balance is less than 6400:
  61. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  62. else:
  63. add 32 stone to the inventory of {_p}
  64. subtract 6400 from {_p}'s balance
  65. send "&6&lVILE &8» &7Bought 64 Stone for &e$6400&7." to {_p}
  66.  
  67. function cobble(p: player):
  68. if {_p}'s balance is less than 6400:
  69. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  70. else:
  71. add 64 cobble stone to the inventory of {_p}
  72. subtract 6400 from {_p}'s balance
  73. send "&6&lVILE &8» &7Bought 32 Cobblestone for &e$6400&7." to {_p}
  74.  
  75. function sbricks(p: player):
  76. if {_p}'s balance is less than 6400:
  77. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  78. else:
  79. add 64 smooth bricks to the inventory of {_p}
  80. subtract 6400 from {_p}'s balance
  81. send "&6&lVILE &8» &7Bought 32 Stone Bricks for &e$6400&7." to {_p}
  82.  
  83. function and(p: player):
  84. if {_p}'s balance is less than 6400:
  85. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  86. else:
  87. add 48 andesite to the inventory of {_p}
  88. subtract 6400 from {_p}'s balance
  89. send "&6&lVILE &8» &7Bought 48 Andesite for &e$6400&7." to {_p}
  90.  
  91. function dior(p: player):
  92. if {_p}'s balance is less than 6400:
  93. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  94. else:
  95. add 48 diorite to the inventory of {_p}
  96. subtract 6400 from {_p}'s balance
  97. send "&6&lVILE &8» &7Bought 48 Diorite for &e$6400&7." to {_p}
  98.  
  99. function gran(p: player):
  100. if {_p}'s balance is less than 6400:
  101. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  102. else:
  103. add 48 granite to the inventory of {_p}
  104. subtract 6400 from {_p}'s balance
  105. send "&6&lVILE &8» &7Bought 48 Andesite for &e$6400&7." to {_p}
  106.  
  107. function grav(p: player):
  108. if {_p}'s balance is less than 3200:
  109. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  110. else:
  111. add 64 gravel to the inventory of {_p}
  112. subtract 3200 from {_p}'s balance
  113. send "&6&lVILE &8» &7Bought 32 Gravel for &e$3200&7." to {_p}
  114.  
  115. function sand(p: player):
  116. if {_p}'s balance is less than 4800:
  117. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  118. else:
  119. add 64 sand to the inventory of {_p}
  120. subtract 4800 from {_p}'s balance
  121. send "&6&lVILE &8» &7Bought 64 Sand for &e$4800&7." to {_p}
  122.  
  123. function oak(p: player):
  124. if {_p}'s balance is less than 5000:
  125. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  126. else:
  127. add 16 oak logs to the inventory of {_p}
  128. subtract 5000 from {_p}'s balance
  129. send "&6&lVILE &8» &7Bought 16 Oak Wood for &e$5000&7." to {_p}
  130.  
  131. function doak(p: player):
  132. if {_p}'s balance is less than 7500:
  133. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  134. else:
  135. add 16 dark oak logs to the inventory of {_p}
  136. subtract 750 from {_p}'s balance
  137. send "&6&lVILE &8» &7Bought 16 Dark Oak Wood for &e$7500&7." to {_p}
  138.  
  139. function spruce(p: player):
  140. if {_p}'s balance is less than 7500:
  141. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  142. else:
  143. add 16 spruce logs to the inventory of {_p}
  144. subtract 7500 from {_p}'s balance
  145. send "&6&lVILE &8» &7Bought 16 Spruce Wood for &e$7500&7." to {_p}
  146.  
  147. function birch(p: player):
  148. if {_p}'s balance is less than 6500:
  149. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  150. else:
  151. add 16 birch logs to the inventory of {_p}
  152. subtract 6500 from {_p}'s balance
  153. send "&6&lVILE &8» &7Bought 16 Birch Wood for &e$6500&7." to {_p}
  154.  
  155. function acac(p: player):
  156. if {_p}'s balance is less than 6500:
  157. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  158. else:
  159. add 16 acacia logs to the inventory of {_p}
  160. subtract 6500 from {_p}'s balance
  161. send "&6&lVILE &8» &7Bought 16 Acacia Wood for &e$6500&7." to {_p}
  162.  
  163. function book(p: player):
  164. if {_p}'s balance is less than 5000:
  165. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  166. else:
  167. add 2 bookshelves to the inventory of {_p}
  168. subtract 5000 from {_p}'s balance
  169. send "&6&lVILE &8» &7Bought 2 Bookshelves for &e$5000&7." to {_p}
  170.  
  171. function neth(p: player):
  172. if {_p}'s balance is less than 5000:
  173. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  174. else:
  175. add 64 netherrack to the inventory of {_p}
  176. subtract 500 from {_p}'s balance
  177. send "&6&lVILE &8» &7Bought 64 Netherrack for &e$5000&7." to {_p}
  178.  
  179. function neth2(p: player):
  180. if {_p}'s balance is less than 5000:
  181. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  182. else:
  183. add 64 nether brick blocks to the inventory of {_p}
  184. subtract 5000 from {_p}'s balance
  185. send "&6&lVILE &8» &7Bought 64 Nether Brick for &e$5000&7." to {_p}
  186.  
  187. function glow(p: player):
  188. if {_p}'s balance is less than 5000:
  189. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  190. else:
  191. add 32 glowstone to the inventory of {_p}
  192. subtract 5000 from {_p}'s balance
  193. send "&6&lVILE &8» &7Bought 32 Glowstone for &e$5000&7." to {_p}
  194.  
  195. function soul(p: player):
  196. if {_p}'s balance is less than 4800:
  197. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  198. else:
  199. add 64 soul sand to the inventory of {_p}
  200. subtract 4800 from {_p}'s balance
  201. send "&6&lVILE &8» &7Bought 64 Soul Sand for &e$4800&7." to {_p}
  202.  
  203. function quartz(p: player):
  204. if {_p}'s balance is less than 7200:
  205. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  206. else:
  207. add 48 quartz blocks to the inventory of {_p}
  208. subtract 7200 from {_p}'s balance
  209. send "&6&lVILE &8» &7Bought 48 Quartz for &e$7200&7." to {_p}
  210.  
  211. function pris(p: player):
  212. if {_p}'s balance is less than 5000:
  213. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  214. else:
  215. add 64 prismarine blocks to the inventory of {_p}
  216. subtract 5000 from {_p}'s balance
  217. send "&6&lVILE &8» &7Bought 64 Prismarine for &e$5000&7." to {_p}
  218.  
  219. function prisb(p: player):
  220. if {_p}'s balance is less than 5000:
  221. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  222. else:
  223. add 64 prismarine bricks to the inventory of {_p}
  224. subtract 5000 from {_p}'s balance
  225. send "&6&lVILE &8» &7Bought Prismarine Bricks for &e$500&07." to {_p}
  226.  
  227. function dpris(p: player):
  228. if {_p}'s balance is less than 5000:
  229. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  230. else:
  231. add 64 dark prismarine to the inventory of {_p}
  232. subtract 5000 from {_p}'s balance
  233. send "&6&lVILE &8» &7Bought 64 Dark Prismarine for &e$5000&7." to {_p}
  234.  
  235. function sea(p: player):
  236. if {_p}'s balance is less than 50000:
  237. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  238. else:
  239. add 32 sea lantern to the inventory of {_p}
  240. subtract 50000 from {_p}'s balance
  241. send "&6&lVILE &8» &7Bought 32 Sea Lanterns for &e$50000&7." to {_p}
  242.  
  243. function hc(p: player):
  244. if {_p}'s balance is less than 4800:
  245. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  246. else:
  247. add 64 hardened clay to the inventory of {_p}
  248. subtract 4800 from {_p}'s balance
  249. send "&6&lVILE &8» &7Bought 64 Terracotta for &e$4800&7." to {_p}
  250.  
  251. function rsand(p: player):
  252. if {_p}'s balance is less than 4800:
  253. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  254. else:
  255. add 64 redsand to the inventory of {_p}
  256. subtract 4800 from {_p}'s balance
  257. send "&6&lVILE &8» &7Bought 64 Red Sand for &e$4800&7." to {_p}
  258.  
  259.  
  260. function cblocks(p: player):
  261. open virtual chest inventory with size 3 named "&8( &6Colored Blocks &8)" for {_p}
  262. format gui slot 22 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  263. format gui slot 2 of {_p} with 16 glass blocks named "&6Glass &7(All Colors)" with lore "&7Price: &e$25000" to run function glass({_p})
  264. format gui slot 4 of {_p} with 16 hardened clay named "&6Terracotta &7(All Colors)" with lore "&7Price: &e$25000" to run function hc2({_p})
  265. format gui slot 6 of {_p} with 16 white wool named "&6Wool &7(All Colors)" with lore "&7Price: &e$25000" to run function wool({_p})
  266.  
  267. function glass(p: player):
  268. if {_p}'s balance is less than 25000:
  269. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  270. else:
  271. add 16 plain glass block to the inventory of {_p}
  272. add 16 white glass block to the inventory of {_p}
  273. add 16 orange glass block to the inventory of {_p}
  274. add 16 magenta glass block to the inventory of {_p}
  275. add 16 light blue glass block to the inventory of {_p}
  276. add 16 yellow glass block to the inventory of {_p}
  277. add 16 light green glass block to the inventory of {_p}
  278. add 16 pink glass block to the inventory of {_p}
  279. add 16 gray glass block to the inventory of {_p}
  280. add 16 light gray glass block to the inventory of {_p}
  281. add 16 cyan glass block to the inventory of {_p}
  282. add 16 purple glass block to the inventory of {_p}
  283. add 16 blue glass block to the inventory of {_p}
  284. add 16 brown glass block to the inventory of {_p}
  285. add 16 green glass block to the inventory of {_p}
  286. add 16 red glass block to the inventory of {_p}
  287. add 16 black glass block to the inventory of {_p}
  288. subtract 25000 from {_p}'s balance
  289. send "&6&lVILE &8» &7Bought 16 Glass (All Colors) for &e$25000&7." to {_p}
  290.  
  291. function hc2(p: player):
  292. if {_p}'s balance is less than 25000:
  293. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  294. else:
  295. add 16 white hardened clay to the inventory of {_p}
  296. add 16 orange hardened clay to the inventory of {_p}
  297. add 16 magenta hardened clay to the inventory of {_p}
  298. add 16 light blue hardened clay to the inventory of {_p}
  299. add 16 yellow hardened clay to the inventory of {_p}
  300. add 16 light green hardened clay to the inventory of {_p}
  301. add 16 pink hardened clay to the inventory of {_p}
  302. add 16 gray hardened clay to the inventory of {_p}
  303. add 16 light gray hardened clay to the inventory of {_p}
  304. add 16 cyan hardened clay to the inventory of {_p}
  305. add 16 purple hardened clay to the inventory of {_p}
  306. add 16 blue hardened clay to the inventory of {_p}
  307. add 16 brown hardened clay to the inventory of {_p}
  308. add 16 green hardened clay to the inventory of {_p}
  309. add 16 red hardened clay to the inventory of {_p}
  310. add 16 black hardened clay to the inventory of {_p}
  311. add 16 hardened clay to the inventory of {_p}
  312. subtract 25000 from {_p}'s balance
  313. send "&6&lVILE &8» &7Bought 16 Terracotta (All Colors) for &e$25000&7." to {_p}
  314.  
  315. function wool(p: player):
  316. if {_p}'s balance is less than 25000:
  317. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  318. else:
  319. add 16 white wool to the inventory of {_p}
  320. add 16 orange wool to the inventory of {_p}
  321. add 16 magenta wool to the inventory of {_p}
  322. add 16 light blue wool to the inventory of {_p}
  323. add 16 yellow wool to the inventory of {_p}
  324. add 16 light green wool to the inventory of {_p}
  325. add 16 pink wool to the inventory of {_p}
  326. add 16 gray wool to the inventory of {_p}
  327. add 16 light gray wool to the inventory of {_p}
  328. add 16 cyan wool to the inventory of {_p}
  329. add 16 purple wool to the inventory of {_p}
  330. add 16 blue wool to the inventory of {_p}
  331. add 16 brown wool to the inventory of {_p}
  332. add 16 green wool to the inventory of {_p}
  333. add 16 red wool to the inventory of {_p}
  334. add 16 black wool to the inventory of {_p}
  335. subtract 25000 from {_p}'s balance
  336. send "&6&lVILE &8» &7Bought 16 Wool (All Colors) for &e$25000&7." to {_p}
  337.  
  338. function food(p: player):
  339. open virtual chest inventory with size 4 named "&8( &6Food &8)" for {_p}
  340. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  341. format gui slot 0 of {_p} with 32 steak named "&6Steak" with lore "&7Price: &e$450" to run function steak({_p})
  342. format gui slot 1 of {_p} with 32 raw beef named "&6Raw Beef" with lore "&7Price: &e$250" to run function beef({_p})
  343. format gui slot 2 of {_p} with 32 cooked porkchop named "&6Cooked Pork" with lore "&7Price: &e$450" to run function cpork({_p})
  344. format gui slot 3 of {_p} with 32 raw porkchop named "&6Raw Pork" with lore "&7Price: &e$250" to run function rpork({_p})
  345. format gui slot 4 of {_p} with 32 cooked mutton named "&6Cooked Mutton" with lore "&7Price: &e$450" to run function cmut({_p})
  346. format gui slot 5 of {_p} with 32 raw mutton named "&6Raw Mutton" with lore "&7Price: &e$250" to run function rmut({_p})
  347. format gui slot 6 of {_p} with 32 cooked chicken named "&6Cooked Chicken" with lore "&7Price: &e$350" to run function cchick({_p})
  348. format gui slot 7 of {_p} with 32 raw chicken named "&6Raw Chicken" with lore "&7Price: &e$150" to run function rchick({_p})
  349. format gui slot 8 of {_p} with 32 cooked fish named "&6Cooked Fish" with lore "&7Price: &e$350" to run function cfish({_p})
  350. format gui slot 9 of {_p} with 32 raw fish named "&6Raw Fish" with lore "&7Price: &e$150" to run function rfish({_p})
  351. format gui slot 10 of {_p} with 32 cooked salmon named "&6Cooked Salmon" with lore "&7Price: &e$350" to run function csalm({_p})
  352. format gui slot 11 of {_p} with 32 raw salmon named "&6Raw Salmon" with lore "&7Price: &e$150" to run function rsalm({_p})
  353. format gui slot 12 of {_p} with 16 pumpkin pie named "&6Pumpkin Pie" with lore "&7Price: &e$500" to run function pump({_p})
  354. format gui slot 13 of {_p} with 4 cake_item named "&6Cake" with lore "&7Price: &e$500" to run function cake({_p})
  355. format gui slot 14 of {_p} with 16 golden_apple_item named "&6Golden Apple" with lore "&7Price: &e$1000" to run function gap({_p})
  356. format gui slot 15 of {_p} with mushroom stew named "&6Mushroom Stew" with lore "&7Price: &e$100" to run function mush({_p})
  357. format gui slot 16 of {_p} with beetroot soup named "&6Beetroot Soup" with lore "&7Price: &e$100" to run function beet({_p})
  358. format gui slot 17 of {_p} with cookie of fire aspect 1 named "&6THE ALMIGHTY COOKIE!" with lore "&7Price: &e$25000" to run function cookie({_p})
  359.  
  360. function steak(p: player):
  361. if {_p}'s balance is less than 450:
  362. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  363. else:
  364. add 32 steak to the inventory of {_p}
  365. subtract 450 from {_p}'s balance
  366. send "&6&lVILE &8» &7Bought 32 Steak for &e$450&7." to {_p}
  367.  
  368. function beef(p: player):
  369. if {_p}'s balance is less than 250:
  370. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  371. else:
  372. add 32 steak to the inventory of {_p}
  373. subtract 250 from {_p}'s balance
  374. send "&6&lVILE &8» &7Bought 32 Raw Beef for &e$250&7." to {_p}
  375.  
  376. function cpork(p: player):
  377. if {_p}'s balance is less than 450:
  378. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  379. else:
  380. add 32 cooked porkchop to the inventory of {_p}
  381. subtract 450 from {_p}'s balance
  382. send "&6&lVILE &8» &7Bought 32 Cooked Porkchop for &e$450&7." to {_p}
  383.  
  384.  
  385. function spawner(p: player):
  386. open virtual chest inventory with size 4 named "&8( &6Spawners &8)" for {_p}
  387. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  388. format gui slot 0 of {_p} with mob spawner named "&6Pig Spawner" with lore "&7Price: &e$225000" to run function spawnpig({_p})
  389. format gui slot 1 of {_p} with mob spawner named "&6Cow Spawner" with lore "&7Price: &e$250000" to run function spawncow({_p})
  390. format gui slot 2 of {_p} with mob spawner named "&6Sheep Spawner" with lore "&7Price: &e$325000" to run function spawnsheep({_p})
  391. format gui slot 3 of {_p} with mob spawner named "&6Zombie Spawner" with lore "&7Price: &e$175000" to run function spawnzombie({_p})
  392. format gui slot 4 of {_p} with mob spawner named "&6Skeleton Spawner" with lore "&7Price: &e$500000" to run function spawnskeleton({_p})
  393. format gui slot 5 of {_p} with mob spawner named "&6Villager Spawner" with lore "&7Price: &e$1,250,000" to run function spawnvillager({_p})
  394. format gui slot 6 of {_p} with mob spawner named "&6Spider Spawner" with lore "&7Price: &e$525000" to run function spawnspider({_p})
  395. format gui slot 7 of {_p} with mob spawner named "&6Mooshroom Spawner" with lore "&7Price: &e$2,225,000" to run function spawnmooshroom({_p})
  396. format gui slot 8 of {_p} with mob spawner named "&6Chicken Spawner" with lore "&7Price: &e$275000" to run function spawnchicken({_p})
  397. format gui slot 9 of {_p} with mob spawner named "&6Parrot Spawner" with lore "&7Price: &e$125000" to run function spawnparrot({_p})
  398. format gui slot 10 of {_p} with mob spawner named "&6Iron Golem Spawner" with lore "&7Price: &e$5,000,000" to run function spawnig({_p})
  399. format gui slot 11 of {_p} with mob spawner named "&6Blaze Spawner" with lore "&7Price: &e$985000" to run function spawnblaze({_p})
  400. format gui slot 12 of {_p} with mob spawner named "&6Creeper Spawner" with lore "&7Price: &e$1,750,000" to run function spawncreeper({_p})
  401.  
  402. function spawnpig(p: player):
  403. if {_p}'s balance is less than 225000:
  404. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  405. else:
  406. execute console command "ss give {_p} pig 1"
  407. subtract 225000 from {_p}'s balance
  408. send "&6&lVILE &8» &7Bought 1 Pig Spawner for &e$225000&7." to {_p}
  409.  
  410. function spawncow(p: player):
  411. if {_p}'s balance is less than 250000:
  412. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  413. else:
  414. execute console command "ss give {_p} cow 1"
  415. subtract 250000 from {_p}'s balance
  416. send "&6&lVILE &8» &7Bought 1 Cow Spawner for &e$250000&7." to {_p}
  417.  
  418. function spawnsheep(p: player):
  419. if {_p}'s balance is less than 325000:
  420. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  421. else:
  422. execute console command "ss give {_p} sheep 1"
  423. subtract 325000 from {_p}'s balance
  424. send "&6&lVILE &8» &7Bought 1 Sheep Spawner for &e$325000&7." to {_p}
  425.  
  426. function spawnzombie(p: player):
  427. if {_p}'s balance is less than 175000:
  428. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  429. else:
  430. execute console command "ss give {_p} zombie 1"
  431. subtract 175000 from {_p}'s balance
  432. send "&6&lVILE &8» &7Bought 1 Zombie Spawner for &e$175000&7." to {_p}
  433.  
  434. function spawnskeleton(p: player):
  435. if {_p}'s balance is less than 500000:
  436. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  437. else:
  438. execute console command "ss give {_p} skeleton 1"
  439. subtract 500000 from {_p}'s balance
  440. send "&6&lVILE &8» &7Bought 1 Skeleton Spawner for &e$500000&7." to {_p}
  441.  
  442. function spawnvillager(p: player):
  443. if {_p}'s balance is less than 1250000:
  444. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  445. else:
  446. execute console command "ss give {_p} villager 1"
  447. subtract 1250000 from {_p}'s balance
  448. send "&6&lVILE &8» &7Bought 1 Villager Spawner for &e$1250000&7." to {_p}
  449.  
  450. function spawnspider(p: player):
  451. if {_p}'s balance is less than 525000:
  452. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  453. else:
  454. execute console command "ss give {_p} spider 1"
  455. subtract 525000 from {_p}'s balance
  456. send "&6&lVILE &8» &7Bought 1 Spider Spawner for &e$525000&7." to {_p}
  457.  
  458. function spawnmooshroom(p: player):
  459. if {_p}'s balance is less than 2225000:
  460. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  461. else:
  462. execute console command "ss give {_p} mooshroom 1"
  463. subtract 2225000 from {_p}'s balance
  464. send "&6&lVILE &8» &7Bought 1 Mooshroom Spawner for &e$2225000&7." to {_p}
  465.  
  466. function spawnchicken(p: player):
  467. if {_p}'s balance is less than 275000:
  468. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  469. else:
  470. execute console command "ss give {_p} chicken 1"
  471. subtract 275000 from {_p}'s balance
  472. send "&6&lVILE &8» &7Bought 1 Chicken Spawner for &e$275000&7." to {_p}
  473.  
  474. function spawnparrot(p: player):
  475. if {_p}'s balance is less than 125000:
  476. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  477. else:
  478. execute console command "ss give {_p} parrot 1"
  479. subtract 125000 from {_p}'s balance
  480. send "&6&lVILE &8» &7Bought 1 Parrot Spawner for &e$125000&7." to {_p}
  481.  
  482. function spawnig(p: player):
  483. if {_p}'s balance is less than 5000000:
  484. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  485. else:
  486. execute console command "ss give {_p} ig 1"
  487. subtract 5000000 from {_p}'s balance
  488. send "&6&lVILE &8» &7Bought 1 Iron Golem Spawner for &e$5000000&7." to {_p}
  489.  
  490. function spawnblaze(p: player):
  491. if {_p}'s balance is less than 985000:
  492. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  493. else:
  494. execute console command "ss give {_p} blaze 1"
  495. subtract 985000 from {_p}'s balance
  496. send "&6&lVILE &8» &7Bought 1 Blaze Spawner for &e$985000&7." to {_p}
  497.  
  498. function spawncreeper(p: player):
  499. if {_p}'s balance is less than 1750000:
  500. send "&6&lVILE &8» &7Insufficient Funds." to {_p}
  501. else:
  502. execute console command "ss give {_p} creeper 1"
  503. subtract 1750000 from {_p}'s balance
  504. send "&6&lVILE &8» &7Bought 1 Creeper Spawner for &e$1750000&7." to {_p}
  505.  
  506. function drops(p: player):
  507. open virtual chest inventory with size 4 named "&8( &6Mob Drops &8)" for {_p}
  508. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  509.  
  510. function farm(p: player):
  511. open virtual chest inventory with size 4 named "&8( &6Farming and Misc. &8)" for {_p}
  512. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  513.  
  514. function custom(p: player):
  515. open virtual chest inventory with size 4 named "&8( &6Custom Items and Perks &8)" for {_p}
  516. format gui slot 31 of {_p} with prismarine shard named "&6Go Back" with lore "&7Click me to go back||&7to the home page." to run function back({_p})
  517. format gui slot 0 of {_p} with diamond chestplate named "&6Butcherer Kit" with lore "&7Price: &e$3,000,000" to run function butchererkit({_p})
  518. format gui slot 1 of {_p} with iron chestplate named "&6Farming Kit" with lore "&7Price: &e$725,000" to run function farmingkit({_p})
  519. format gui slot 2 of {_p} with grass named "&6Island Expansion Kit" with lore "&7Price: &e$260,000" to run function iekit({_p})
  520. format gui slot 3 of {_p} with tripwire hook named "&61x Gold Key" with lore "&7Price: &e$500,000" to run function onegoldkey({_p})
  521. format gui slot 4 of {_p} with tripwire hook named "&65x Gold Key" with lore "&7Price: &e$2,250,000" to run function fivegoldkey({_p})
  522. format gui slot 5 of {_p} with tripwire hook named "&61x Diamond Key" with lore "&7Price: &e$1,500,000" to run function onediamondkey({_p})
  523. format gui slot 6 of {_p} with tripwire hook named "&65x Diamond Key" with lore "&7Price: &e$4,250,000" to run function fivediamondkey({_p})
  524. format gui slot 7 of {_p} with tripwire hook named "&61x Emerald Key" with lore "&7Price: &e$3,500,000" to run function oneemeraldkey({_p})
  525. format gui slot 8 of {_p} with tripwire hook named "&65x Emerald Key" with lore "&7Price: &e$12,250,000" to run function fiveemeraldkey({_p})
  526. format gui slot 9 of {_p} with steak named "&6Feed Command" with lore "&7Price: &e$5,000,000" to run function feedcmd({_p})
  527. format gui slot 10 of {_p} with feather named "&6Fly Command" with lore "&7Price: &e$15,000,000" to run function flycmd({_p})
  528. format gui slot 10 of {_p} with feather named "&6Nickname Command" with lore "&7Price: &e$10,000,000" to run function nickcmd({_p})
  529.  
  530.  
  531. function back(p: player):
  532. make {_p} execute "/shop"
Advertisement
Add Comment
Please, Sign In to add comment