Advertisement
Guest User

buy

a guest
Nov 20th, 2019
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.35 KB | None | 0 0
  1. command /buy:
  2. permission: stop
  3. permission message: &cUNDER OPBYGNING!
  4. aliases: buycraft
  5.  
  6. trigger:
  7. wait 3 ticks
  8. open chest with 6 rows named "&eBuy&6Craft &c&l-> &eMenu" to player
  9.  
  10.  
  11. Format slot 50 of player with glowing paper named "&aLavet af WhySoShy" to close
  12. Format slot 49 of player with skull of player named "&3Du har" with lore "&3%{shards::%uuid of player%}% &bShards" to be unstealable
  13. Format slot 48 of player with glowing paper named "&aLavet af WhySoShy" to close
  14.  
  15. format slot 11 of player with Wooden sword named "&6Kits" with lore "&7Åben og se:||||&7Adgang til - &f&oKit Gambler||&7Adgang til - &f&oKit Miner" to close then run [make player execute command "buykits"]
  16. format slot 15 of player with 299 named "&6Ranks" with lore "&7Åben og se:||||&7Rank - &f&oRolex||&7Rank - &f&oPPF||&7Rank - &f&oSupreme||&7Rank - &f&oGucci" to close then run [Make player execute command "buyranks"]
  17. format slot 42 of player with string named "&6Permissions" with lore "&7Åben og se:||||&7Permission - &f&o/Eat||&7Permission - &f&o/Craft" to close then run [Make player execute command "buyperms"]
  18. format slot 38 of player with 383:95 named "&6Pets" with lore "&7Åben og se:||||&7Pet - &f&oBaby Ulv||&7Pet - &f&oBaby Gris" to close then run [make player execute command "buypets"]
  19.  
  20. format slot 22 of player with glowing 324 named "&6VIP celler" with lore "&7Åben og se:||||&7Celle - &f&oVIP Celle" to close then run [make player execute command "buyvip"]
  21. format slot 31 of player with glowing 409 named "&3Shards" with lore "&7Åben og se:||||&3Shard køb" to close then run [make player execute command "buyshard"]
  22.  
  23.  
  24. command /buyranks:
  25. trigger:
  26. wait 3 ticks
  27. open chest with 6 rows named "&eBuy&6Craft &c&l-> &eRanks" to player
  28. format slot 11 of player with 42 named "&eGucci" with lore "&7Du har adgang til:||||&7Permission - &6/Craft||&7Permission - &6/Eat||&7Kit - &6Gucci||&7Adgang - &6Donator Shop||&7Adgang - &6Donator Mine||&7Adgang - &6Donator Celler||||&7Prefix: &6[&eG&6u&ec&6c&ei&6] &6%player%" to close then run [make player execute command "/buygucci"]
  29. format slot 15 of player with 41 named "&cSupreme" with lore "&7Permission - &6/Craft||&7Permission - &6/Eat||&7Kit - &6Supreme||&7Adgang - &6Donator Shop||&7Adgang - &6Donator Mine||&7Adgang - &6Donator Celler||||&7Prefix: &f[&4Supr&feme] &f%player%"to close then run [make player execute command "/buysupreme"]
  30. format slot 42 of player with Glowing Obsidian named "&cRolex" to close then run [make player execute command "/buyRolex"]
  31. format slot 38 of player with 57 named "&aP&2P&aF" to close then run [make player execute command "/buyPPF"]
  32. format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  33.  
  34. command /buyperms:
  35. trigger:
  36. wait 3 ticks
  37. open chest with 6 rows named "&eBuy&6Craft &c&l-> &ePermissions" to player
  38. format slot 11 of player with Glowing 381 named "&7Night Vision" to close
  39. format slot 15 of player with 58 named "&6Craft" to close
  40. format slot 42 of player with steak named "&eEat" to close
  41. format slot 38 of player with Glowing 421 named "&7Nick&8Name" to close
  42. format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  43.  
  44.  
  45. command /buypets:
  46. trigger:
  47. wait 3 ticks
  48. open chest with 6 rows named "&eBuy&6Craft &c&l-> &ePets" to player
  49. format slot 11 of player glowing 383:95 named "&7Baby Ulv" to close
  50. format slot 15 of player glowing 383:90 named "&7Baby Gris" to close
  51. format slot 42 of player with 383:98 named "&7Ocelot" to close
  52. format slot 38 of player with 383:92 named "&7Baby Ko"
  53. format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  54.  
  55.  
  56. command /buyvip:
  57. trigger:
  58. wait 3 ticks
  59. open chest with 6 rows named "&eBuy&6Craft &c&l-> &eVIP Celler" to player
  60. format slot 11 of player with glowing 324 named "&6VIP Celle" to close
  61. format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  62.  
  63.  
  64.  
  65. command /buykits:
  66. trigger:
  67. wait 3 ticks
  68. open chest with 6 rows named "&eBuy&6Craft &c&l-> &eKits" to player
  69. format slot 11 of player with 268 named "&7" to close
  70. format slot 15 of player with 272 named "&7" to close
  71. format slot 42 of player with glowing 276 named "&7" to close
  72. format slot 38 of player with 283 named "&7" to close
  73. format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  74.  
  75. command /buyshard:
  76. trigger:
  77. wait 3 ticks
  78. open chest with 1 row named "&eBuy&6Craft &c&l-> &eShards" to player
  79. format slot 0 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
  80.  
  81.  
  82. format slot 2 of player with 409 named "&2100" to close then run [make player execute command "100shards"]
  83. format slot 3 of player with 409 named "&2250" to close then run [make player execute command "250shards"]
  84. format slot 4 of player with 409 named "&2500 &bShards" to close then run [make player execute command "500shards"]
  85. format slot 5 of player with 409 named "&21000 &bShards" to close then run [make player execute command "1000shards"]
  86. format slot 6 of player with 409 named "&22500 &bShards" to close then run [make player execute command "2500shards"]
  87. format slot 7 of player with 409 named "&25000 &bShards" to close then run [make player execute command "5000shards"]
  88. format slot 8 of player with glowing 409 named "&2Andet" to close then run [make player execute command "andetshards"]
  89.  
  90. command /100shards:
  91. trigger:
  92. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 100 Shards!"
  93.  
  94. command /250shards:
  95. trigger:
  96. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 250 Shards!"
  97.  
  98.  
  99. command /500shards:
  100. trigger:
  101. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 500 Shards!"
  102.  
  103. command /1000shards:
  104. trigger:
  105. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 1000 Shards!"
  106. command /2500shards:
  107. trigger:
  108. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 2500 Shards!"
  109.  
  110. command /5000shards:
  111. trigger:
  112. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe 5000 Shards!"
  113.  
  114. command /andetshards:
  115. trigger:
  116. broadcast "&eBuy&6Craft &c&l-> &7%player% &6Vil gerne købe Andet Shards!"
  117.  
  118.  
  119. command /buygucci:
  120. trigger:
  121. if {shards::%uuid of player%} is greater than or equal to 1499:
  122.  
  123. close player's inventory
  124. remove 1500 from {shards::%uuid of player%}
  125.  
  126. Broadcast "&8-------------------"
  127. Broadcast ""
  128. Broadcast "&c%player% &7Har lige købt ranken &6Gucci"
  129. Broadcast ""
  130. Broadcast "&8-------------------"
  131.  
  132. make console execute command "manuadd %player% gucci"
  133. make console execute command "nte player %player% prefix &6[&eGuc&6ci] &6"
  134.  
  135. else:
  136.  
  137. close player's inventory
  138.  
  139. message "&6Rolex &8&l⌚ &7Du har ikke coins nok!"
  140.  
  141. message "&6Rolex &8&l⌚ &7Køb coins via. &3/buy"
  142.  
  143.  
  144.  
  145.  
  146. command /buysupreme:
  147. trigger:
  148. if {shards::%uuid of player%} is greater than or equal to 2999:
  149.  
  150. close player's inventory
  151. remove 3000 from {shards::%uuid of player%}
  152.  
  153. Broadcast "&8-------------------"
  154. Broadcast ""
  155. Broadcast "&c%player% &7Har lige købt ranken &6Supreme"
  156. Broadcast ""
  157. Broadcast "&8-------------------"
  158.  
  159. make console execute command "manuadd %player% Supreme"
  160. make console execute command "nte player %player% prefix &f[&4Supr&feme] &f"
  161.  
  162. else:
  163.  
  164. close player's inventory
  165.  
  166. message "&6Rolex &8&l⌚ &7Du har ikke coins nok!"
  167.  
  168. message "&6Rolex &8&l⌚ &7Køb coins via. &3/buy"
  169.  
  170. command /buyPPF:
  171. trigger:
  172. if {shards::%uuid of player%} is greater than or equal to 4999:
  173.  
  174. close player's inventory
  175. remove 5000 from {shards::%uuid of player%}
  176.  
  177. Broadcast "&8-------------------"
  178. Broadcast ""
  179. Broadcast "&c%player% &7Har lige købt ranken &6PeakPerformance"
  180. Broadcast ""
  181. Broadcast "&8-------------------"
  182.  
  183. make console execute command "manuadd %player% gucci"
  184. make console execute command "nte player %player% prefix &6[&eGuc&6ci] &6"
  185.  
  186. else:
  187.  
  188. close player's inventory
  189.  
  190. message "&6Rolex &8&l⌚ &7Du har ikke coins nok!"
  191.  
  192. message "&6Rolex &8&l⌚ &7Køb coins via. &3/buy"
  193.  
  194.  
  195.  
  196. command /rolex:
  197. trigger:
  198. if {shards::%uuid of player%} is greater than or equal to 7999:
  199.  
  200. close player's inventory
  201. remove 8000 from {shards::%uuid of player%}
  202.  
  203. Broadcast "&8-------------------"
  204. Broadcast ""
  205. Broadcast "&c%player% &7Har lige købt ranken &6Rolex"
  206. Broadcast ""
  207. Broadcast "&8-------------------"
  208.  
  209. make console execute command "manuadd %player% Rolex"
  210. make console execute command "nte player %player% prefix &c[Rolex] &c"
  211.  
  212. else:
  213.  
  214. close player's inventory
  215.  
  216. message "&6Rolex &8&l⌚ &7Du har ikke coins nok!"
  217.  
  218. message "&6Rolex &8&l⌚ &7Køb coins via. &3/buy"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement