Oxalist

Untitled

Nov 25th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.65 KB | None | 0 0
  1. # __________________________________________________________
  2. # / / / /\ \
  3. # \_\___________________________________________________\_\/ /
  4. # / / _____ __ __ / /
  5. # / / / ____\ / / /_/ /\ / /
  6. # / / / /__ / /___ ___ __ ______ __/ /_ / /
  7. # / / \___ \ / __/ / __\ / / / __ //_ __/ / /
  8. # / / ____/ / / /\ \ / / / / / /_/ / / / / /
  9. # / / \_____/ /_/ /_/ /_/ /_/ / ____/ /_/ / /__
  10. # / / ========================== / / ========== / / \ \
  11. # | | /_/ | | | |
  12. # \_\_________________________________________________\_\_/_/
  13.  
  14.  
  15. # Bargamble Name By Khai_MC
  16. # IP: Play.LavaNaCraft.Com
  17.  
  18. options:
  19. prefix: &b&lBT &8»
  20. success: &fchugged a drink and earned
  21. lose: &fBetter luck next time!
  22. Pot1: 1000
  23. Pot2: 5000
  24. Pot3: 10000
  25. perm: rank.admin
  26.  
  27. on sign change:
  28. player has permission "rank.admin"
  29. if line 1 of block is "[bartender]":
  30. set line 1 of block to "&1[BarTender]"
  31. set line 2 of block to "&cPlayed"
  32. set line 4 of block to "&f» &0Right-Click&f «"
  33.  
  34. on right click on sign:
  35. if line 1 of block is "&1[BarTender]":
  36. play level up at player with pitch 1
  37. set line 1 of block to "&1[BarTender]"
  38. set line 2 of block to "&cPlayed By"
  39. set line 3 of block to "&0&n%player%"
  40. set line 4 of block to "&f» &0Right-Click&f «"
  41. wait 4 ticks
  42. open chest with 3 row named "&8» &e&lBar Tender &8«" to player
  43. format slot 0 of player with black glass pane named " " to be unstealable
  44. format slot 1 of player with black glass pane named " " to be unstealable
  45. format slot 2 of player with black glass pane named " " to be unstealable
  46. format slot 3 of player with black glass pane named " " to be unstealable
  47. format slot 4 of player with black glass pane named " " to be unstealable
  48. format slot 5 of player with black glass pane named " " to be unstealable
  49. format slot 6 of player with black glass pane named " " to be unstealable
  50. format slot 7 of player with black glass pane named " " to be unstealable
  51. format slot 8 of player with black glass pane named " " to be unstealable
  52. format slot 9 of player with black glass pane named " " to be unstealable
  53. format slot 17 of player with black glass pane named " " to be unstealable
  54. format slot 18 of player with black glass pane named " " to be unstealable
  55. format slot 19 of player with black glass pane named " " to be unstealable
  56. format slot 20 of player with black glass pane named " " to be unstealable
  57. format slot 21 of player with black glass pane named " " to be unstealable
  58. format slot 22 of player with arrow named "&4&lCLOSE" with lore "&7Click here to close" to close
  59. format slot 23 of player with black glass pane named " " to be unstealable
  60. format slot 24 of player with black glass pane named " " to be unstealable
  61. format slot 25 of player with black glass pane named " " to be unstealable
  62. format slot 26 of player with black glass pane named " " to be unstealable
  63.  
  64. if player's money is less than {@Pot1}:
  65. wait 5 tick
  66. format slot 11 of player with glowing potion named "&cMaritin" with lore "&7Click here to purchase||&dYou need: &c$%{@Pot1}-(money of player)%||&dPrice: &a${@Pot1}||&fContains 40 percent alcohol||&fLegal age: 18+||" to be unstealable
  67. if player's money is more than or equal to {@Pot1}:
  68. wait 5 tick
  69. format slot 11 of player with glowing potion named "&cMaritin" with lore "&7Click here to purchase||&dPrice: &a${@Pot1}||&fContains 40 percent alcohol||&fLegal age: 18+||" to close then run [make console execute command "eco take %player% {@Pot1}"]->[make player execute "RLBY-BUDR-CHL8"]
  70.  
  71. if player's money is less than {@Pot2}:
  72. wait 8 tick
  73. format slot 13 of player with glowing potion named "&cVodka" with lore "&7Click here to purchase||&dYou need: &c$%{@Pot2}-(money of player)%||&dPrice: &a${@Pot2}||&fContains 70 percent alcohol||&fLegal age: 18+||" to be unstealable
  74. if player's money is more than or equal to {@Pot2}:
  75. wait 8 tick
  76. format slot 13 of player with glowing potion named "&cVodka" with lore "&7Click here to purchase||&dPrice: &a${@Pot2}||&fContains 70 percent alcohol||&fLegal age: 18+||" to close then run [make console execute command "eco take %player% {@Pot2}"]->[make player execute "FSXG-8BMA-DRLL"]
  77.  
  78. if player's money is less than {@Pot3}:
  79. wait 9 tick
  80. format slot 15 of player with glowing potion named "&cTequila" with lore "&7Click here to purchase||&dYou need: &c$%{@Pot3}-(money of player)%||&fContains 100 percent alcohol||&dPrice: &a${@Pot2}||&fLegal age: 18+||" to be unstealable
  81. if player's money is more than or equal to {@Pot3}:
  82. wait 9 tick
  83. format slot 15 of player with glowing potion named "&cTequila" with lore "&7Click here to purchase||&dPrice: &a${@Pot3}||&fContains 100 percent alcohol||&fLegal age: 18+||" to close then run [make console execute command "eco take %player% {@Pot3}"]->[make player execute "DMR5-6JBE-PGTQ"]
  84.  
  85.  
  86. command /RLBY-BUDR-CHL8:
  87. trigger:
  88. play mobspawner flames 0.10 meter above player
  89. execute console command "execute %player%[r=15] ~ ~ ~ /particle heart ~ ~ ~ 1 1 1 1 100"
  90. wait 5 tick
  91. set {_sommer} to a random integer between 0 and 5
  92. if {_sommer} is 1:
  93. execute console command "eco give %player% 2000"
  94. launch creeper firework colored red at player with duration 5
  95. send "{@prefix} {@success} &a$2000"
  96. else:
  97. apply confusion 1 to the player for 5 seconds
  98. send "{@prefix} {@lose}"
  99.  
  100. command /FSXG-8BMA-DRLL:
  101. trigger:
  102. play mobspawner flames 0.10 meter above player
  103. wait 5 tick
  104. set {_sommer} to a random integer between 0 and 7
  105. if {_sommer} is 1:
  106. execute console command "eco give %player% 10000"
  107. launch creeper firework colored red at player with duration 5
  108. broadcast "{@prefix} %player% {@success} &a$10000"
  109. else:
  110. apply confusion 1 to the player for 5 seconds
  111. apply night vision 1 to the player for 5 seconds
  112. send "{@prefix} {@lose}"
  113.  
  114. command /DMR5-6JBE-PGTQ:
  115. trigger:
  116. play mobspawner flames 0.10 meter above player
  117. wait 5 tick
  118. set {_sommer} to a random integer between 0 and 10
  119. if {_sommer} is 1:
  120. execute console command "eco give %player% 20000"
  121. launch creeper firework colored red at player with duration 5
  122. broadcast "{@prefix} %player% {@success} &a$20000"
  123. else:
  124. apply confusion 1 to the player for 5 seconds
  125. apply night vision 1 to the player for 5 seconds
  126. apply poison 1 to the player for 5 seconds
  127. send "{@prefix} {@lose}"
  128. wait 4 seconds
  129. execute console command "heal %player%"
Advertisement
Add Comment
Please, Sign In to add comment