Advertisement
happyzachariah

Untitled

Aug 17th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. # __________________________________________________________
  2. # / / / /\ \
  3. # \_\___________________________________________________\_\/ /
  4. # / / _____ __ __ / /
  5. # / / / ____\ / / /_/ /\ / /
  6. # / / / /__ / /___ ___ __ ______ __/ /_ / /
  7. # / / \___ \ / __/ / __\ / / / __ //_ __/ / /
  8. # / / ____/ / / /\ \ / / / / / /_/ / / / / /
  9. # / / \_____/ /_/ /_/ /_/ /_/ / ____/ /_/ / /__
  10. # / / ========================== / / ========== / / \ \
  11. # | | /_/ | | | |
  12. # \_\_________________________________________________\_\_/_/
  13.  
  14.  
  15. # Casino Slots By Khai_MC
  16. # IP: Play.LavaNaCraft.Com
  17.  
  18. # How To Create a CasinoSlots
  19. # Must Have Permission : casino.slots
  20. # Warning, Do not give this permission to normal player!
  21. # Place a Sign and Type [Slots]
  22. # Now You are DONE!
  23. # To play right click the sign
  24.  
  25. options:
  26. slots-pay: 1000
  27. slots-win-minor: 5000
  28. slots-jackpot: 10000
  29. ver: 1.2
  30.  
  31. on load:
  32. send "&b<<&3✯&b>> &c&l&oSign Casino Slots&b <<&3✯&b>>" to console
  33. send " " to console
  34. send "&eRunning on version &c{@ver}" to console
  35. send "&eThank you for downloading/using my skripts" to console
  36. send "&eSkript made by &aKhai_Mc" to console
  37. send " " to console
  38. send "&b<<&3✯&b>> &c&l&oSign Casino Slots&b <<&3✯&b>>" to console
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. on sign change:
  74. player has permission "casino.slots"
  75. if line 1 of block is "[Slots]":
  76. set line 1 of block to "&1▁▂▃ &6Slots&1 ▃▂▁" (must same) 1
  77. set line 4 of block to "✯ Ready ✯" (must same)2
  78. on right click on sign:
  79. if line 1 of block is "&1▁▂▃ &6Slots&1 ▃▂▁": (must same) 1
  80. line 4 of block is "✯ Ready ✯" (must same)2
  81. if player's money is less than {@slots-pay}:
  82. message "&cYou don't have money to play" #editable
  83. stop
  84. remove {@slots-pay} from player's money
  85. message "&a- ${@slots-pay}" #editable
  86. set line 4 of block to " "
  87. set line 3 of block to "&4&k::&4≥ &cRolling&4 ≤&k::" #Editable
  88. loop 60 times:
  89. set {_reel1} to a random integer between 1 and 10
  90. set {_reel2} to a random integer between 1 and 10
  91. set {_reel3} to a random integer between 1 and 10
  92. if {_reel1} is 1:
  93. set {_reel1} to "&a☸&r"
  94. if {_reel1} is 2:
  95. set {_reel1} to "&c♥&r"
  96. if {_reel1} is 3:
  97. set {_reel1} to "&c♦&r"
  98. if {_reel1} is 4:
  99. set {_reel1} to "♣"
  100. if {_reel1} is 5:
  101. set {_reel1} to "♠"
  102. if {_reel1} is 6:
  103. set {_reel1} to "○"
  104. if {_reel1} is 7:
  105. set {_reel1} to "•"
  106. if {_reel1} is 8:
  107. set {_reel1} to "&4☼&r"
  108. if {_reel1} is 9:
  109. set {_reel1} to "&6▲&r"
  110. if {_reel1} is 10:
  111. set {_reel1} to "&9▼&r"
  112. if {_reel2} is 1:
  113. set {_reel2} to "&a☸&r"
  114. if {_reel2} is 2:
  115. set {_reel2} to "&c♥&r"
  116. if {_reel2} is 3:
  117. set {_reel2} to "&c♦&r"
  118. if {_reel2} is 4:
  119. set {_reel2} to "♣"
  120. if {_reel2} is 5:
  121. set {_reel2} to "♠"
  122. if {_reel2} is 6:
  123. set {_reel2} to "○"
  124. if {_reel2} is 7:
  125. set {_reel2} to "•"
  126. if {_reel2} is 8:
  127. set {_reel2} to "&4☼&r"
  128. if {_reel2} is 9:
  129. set {_reel2} to "&6▲&r"
  130. if {_reel2} is 10:
  131. set {_reel2} to "&9▼&r"
  132. if {_reel3} is 1:
  133. set {_reel3} to "&a☸&r"
  134. if {_reel3} is 2:
  135. set {_reel3} to "&c♥&r"
  136. if {_reel3} is 3:
  137. set {_reel3} to "&c♦&r"
  138. if {_reel3} is 4:
  139. set {_reel3} to "♣"
  140. if {_reel3} is 5:
  141. set {_reel3} to "♠"
  142. if {_reel3} is 6:
  143. set {_reel3} to "○"
  144. if {_reel3} is 7:
  145. set {_reel3} to "•"
  146. if {_reel3} is 8:
  147. set {_reel3} to "&4☼&r"
  148. if {_reel3} is 9:
  149. set {_reel3} to "&6▲&r"
  150. if {_reel3} is 10:
  151. set {_reel3} to "&9▼&r"
  152. set line 2 of block to "&f►&r %{_reel1}% %{_reel2}% %{_reel3}% &f◄"
  153. wait 1 tick
  154. set line 4 of block to "✯ Ready ✯"
  155. set line 3 of block to " "
  156. if {_reel1} is {_reel2}:
  157. if {_reel1} is {_reel3}:
  158. add {@slots-jackpot} to player's money
  159. message "&a+ ${@slots-jackpot}"
  160. broadcast "&8[&4Casino&8] &e%player% &6won &a+ ${@slots-jackpot} on slots jackpot!"
  161. stop
  162. add {@slots-win-minor} to player's money
  163. message "&a+ ${@slots-win-minor}"
  164. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement