Advertisement
Dreyer11

Untitled

Jul 9th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. options:
  2. dia: &dSælg diamonds for &32 &dDKK Stk
  3. ddia: &dSælg diamonds for &35DKK Stk
  4. streng: &dDu kan købe Streng Potion for &3300 &dDKK Stk
  5. dstreng: &dDu kan købe Streng Potion for &3200 &dDKK Stk
  6. speed: &dDu kan købe Streng Potion for &3350 &dDKK Stk
  7. dspeed: &dDu kan købe Streng Potion for &3200 &dDKK Stk
  8. gap: &dDu kan købe Golden apple for &3750 &dDKK Stk
  9. dgap: &dDu kan købe Golden apple for &3450 &dDKK Stk
  10.  
  11.  
  12.  
  13. command /shop:
  14. trigger:
  15. if player has permission "donator":
  16. wait 2 ticks
  17. open chest with 3 rows named "&7Daddy&8PvP &4D&7-&cShop" to player
  18. format slot 0 of player with shiny 160:3 named "&7" to close
  19. format slot 1 of player with shiny 160:11 named "&7" to close
  20. wait 2 ticks
  21. format slot 2 of player with shiny 160:3 named "&7" to close
  22. format slot 3 of player with shiny 160:11 named "&7" to close
  23. wait 2 ticks
  24. format slot 4 of player with shiny 160:3 named "&7" to close
  25. format slot 5 of player with shiny 160:11 named "&7" to close
  26. wait 2 ticks
  27. format slot 6 of player with shiny 160:3 named "&7" to close
  28. format slot 7 of player with shiny 160:11 named "&7" to close
  29. wait 2 ticks
  30. format slot 8 of player with shiny 160:3 named "&7" to close
  31. format slot 9 of player with shiny 160:11 named "&7" to close
  32. wait 2 ticks
  33. format slot 19 of player with shiny 160:3 named "&7" to close
  34. format slot 18 of player with shiny 160:11 named "&7" to close
  35. wait 2 ticks
  36. format slot 20 of player with shiny 160:11 named "&7" to close
  37. format slot 19 of player with shiny 160:3 named "&7" to close
  38. wait 2 ticks
  39. format slot 21 of player with shiny 160:11 named "&7" to close
  40. format slot 23 of player with shiny 160:3 named "&7" to close
  41. wait 2 ticks
  42. format slot 24 of player with shiny 160:11 named "&7" to close
  43. format slot 25 of player with shiny 160:3 named "&7" to close
  44. wait 2 ticks
  45. format slot 26 of player with shiny 160:11 named "&7" to close
  46. wait 2 ticks
  47. format slot 11 of player with shiny 322 named "&eKøb Golden Apples her" with lore "{@dgap}" to close then run [make player execyte command "dgap"]
  48. format slot 13 of player with shiny 373:16450 named "&eKøb Speed Splash potion her" with lore "{@dspeed}" to close then run [make player execute command "dspeed"]
  49. format slot 15 of player with shiny 373:16457 named "&eKøb Strength Splash potion her" with lore "{@dstreng}" to close then run [make player execute command "dstreng"]
  50. format slot 22 of player with shiny diamond named "&6Sælg dine Diamonds her" with lore "{@ddia}" to close then run [make player execute command "ddia"]
  51.  
  52. else:
  53. if player has permission "player":
  54. wait 2 ticks
  55. open chest with 3 rows named "&7Daddy&8PvP &4N&7-&cShop" to player
  56. format slot 0 of player with shiny 160:3 named "&7" to close
  57. format slot 1 of player with shiny 160:11 named "&7" to close
  58. wait 2 ticks
  59. format slot 2 of player with shiny 160:3 named "&7" to close
  60. format slot 3 of player with shiny 160:11 named "&7" to close
  61. wait 2 ticks
  62. format slot 4 of player with shiny 160:3 named "&7" to close
  63. format slot 5 of player with shiny 160:11 named "&7" to close
  64. wait 2 ticks
  65. format slot 6 of player with shiny 160:3 named "&7" to close
  66. format slot 7 of player with shiny 160:11 named "&7" to close
  67. wait 2 ticks
  68. format slot 8 of player with shiny 160:3 named "&7" to close
  69. format slot 9 of player with shiny 160:11 named "&7" to close
  70. wait 2 ticks
  71. format slot 10 of player with shiny 160:3 named "&7" to close
  72. format slot 18 of player with shiny 160:11 named "&7" to close
  73. wait 2 ticks
  74. format slot 19 of player with shiny 160:11 named "&7" to close
  75. format slot 21 of player with shiny 160:3 named "&7" to close
  76. wait 2 ticks
  77. format slot 23 of player with shiny 160:3 named "&7" to close
  78. wait 2 ticks
  79. format slot 24 of player with shiny 160:11 named "&7" to close
  80. format slot 25 of player with shiny 160:3 named "&7" to close
  81. wait 2 ticks
  82. format slot 26 of player with shiny 160:11 named "&7" to close
  83. wait 2 ticks
  84. format slot 11 of player with shiny 322 named "&eKøb Golden Apples her" with lore "{@gap}" to run [make player execyte command "gap"]
  85. format slot 13 of player with shiny 373:16450 named "&eKøb Speed Splash potion her" with lore "{@speed}" to close then run [make player execute command "speed"]
  86. format slot 15 of player with shiny 373:16457 named "&eKøb Strength Splash potion her" with lore "{@streng}" to close then run [make player execute command "streng"]
  87. format slot 22 of player with shiny diamond named "&6Sælg dine Diamonds her" with lore "{@dia}" to close then run [make player execute command "dia"]
  88.  
  89.  
  90. command /gap:
  91. trigger:
  92. give 1 322 to player
  93. make player execute command "eco take %player% 750"
  94. send "&7Handlen er gennemført!"
  95. else:
  96. send "&cDU HAR IK PENGE NOK!"
  97.  
  98.  
  99.  
  100. command /dgap:
  101. trigger:
  102. give 1 322 to player
  103. make player execute command "eco take %player% 450
  104. send "&7Handlen er gennemført!"
  105. else:
  106. send "&cDU HAR IK PENGE NOK!"
  107.  
  108. command /dspeed:
  109. trigger:
  110. give 1 373:16450 to player
  111. make player execute command "eco take %player% 200"
  112. send "&7Handlen er gennemført!"
  113. else:
  114. send "&cDU HAR IK PENGE NOK!"
  115.  
  116. command /speed:
  117. trigger:
  118. give 1 373:16450 to player
  119. make player execute command "eco take %player% 350"
  120. send &7Handlen er gennemført!"
  121. else:
  122. send "&cDU HAR IK PENGE NOK!"
  123.  
  124.  
  125. command /dstreng:
  126. trigger:
  127. give 1 373:16457 to player
  128. make player execute command "eco take %player% 200"
  129. send "&7Handlen er gennemført!"
  130. else:
  131. send "&cDU HAR IK PENGE NOK!"
  132.  
  133. command /streng:
  134. trigger:
  135. give 1 373:16457 to player
  136. make player execute command "eco take %player% 300"
  137. send &7Handlen er gennemført!"
  138. else:
  139. send "&cDU HAR IK PENGE NOK!"
  140.  
  141.  
  142. command /ddia:
  143. trigger:
  144. if arg-1 is set:
  145. take 1 diamond from player
  146. make player execute command "eco give %arg-1% 5"
  147. send "&7Handlen er gennemført!"
  148. else:
  149. send "&cDU HAR IK PENGE NOK!"
  150.  
  151. command /dia:
  152. trigger:
  153. if {_diamond} is greater or equals 1:
  154. remove 1 diamond from player
  155. add 2 to player's balance
  156. send "&7Handlen er gennemført!"
  157. else:
  158. send "&cDU HAR IK PENGE NOK!"
  159. cancel event
  160.  
  161. command /ddia:
  162. trigger:
  163. if {_diamond} is greater or equals 1:
  164. remove 1 diamond from player
  165. add 5 to player's balance
  166. send "&7Handlen er gennemført!"
  167. else:
  168. send "&cDU HAR IK PENGE NOK!"
  169. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement