Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # __________________________________________________________
- # / / / /\ \
- # \_\___________________________________________________\_\/ /
- # / / _____ __ __ / /
- # / / / ____\ / / /_/ /\ / /
- # / / / /__ / /___ ___ __ ______ __/ /_ / /
- # / / \___ \ / __/ / __\ / / / __ //_ __/ / /
- # / / ____/ / / /\ \ / / / / / /_/ / / / / /
- # / / \_____/ /_/ /_/ /_/ /_/ / ____/ /_/ / /__
- # / / ========================== / / ========== / / \ \
- # | | /_/ | | | |
- # \_\_________________________________________________\_\_/_/
- # Casino Slots By Khai_MC
- # IP: Play.LavaNaCraft.Com
- # How To Create a CasinoSlots
- # Must Have Permission : casino.slots
- # Warning, Do not give this permission to normal player!
- # Place a Sign and Type [Slots]
- # Now You are DONE!
- # To play right click the sign
- options:
- slots-pay: 1000
- slots-win-minor: 5000
- slots-jackpot: 10000
- ver: 1.2
- on load:
- send "&b<<&3✯&b>> &c&l&oSign Casino Slots&b <<&3✯&b>>" to console
- send " " to console
- send "&eRunning on version &c{@ver}" to console
- send "&eThank you for downloading/using my skripts" to console
- send "&eSkript made by &aKhai_Mc" to console
- send " " to console
- send "&b<<&3✯&b>> &c&l&oSign Casino Slots&b <<&3✯&b>>" to console
- on sign change:
- player has permission "casino.slots"
- if line 1 of block is "[Slots]":
- set line 1 of block to "&1▁▂▃ &6Slots&1 ▃▂▁" (must same) 1
- set line 4 of block to "✯ Ready ✯" (must same)2
- on right click on sign:
- if line 1 of block is "&1▁▂▃ &6Slots&1 ▃▂▁": (must same) 1
- line 4 of block is "✯ Ready ✯" (must same)2
- if player's money is less than {@slots-pay}:
- message "&cYou don't have money to play" #editable
- stop
- remove {@slots-pay} from player's money
- message "&a- ${@slots-pay}" #editable
- set line 4 of block to " "
- set line 3 of block to "&4&k::&4≥ &cRolling&4 ≤&k::" #Editable
- loop 60 times:
- set {_reel1} to a random integer between 1 and 10
- set {_reel2} to a random integer between 1 and 10
- set {_reel3} to a random integer between 1 and 10
- if {_reel1} is 1:
- set {_reel1} to "&a☸&r"
- if {_reel1} is 2:
- set {_reel1} to "&c♥&r"
- if {_reel1} is 3:
- set {_reel1} to "&c♦&r"
- if {_reel1} is 4:
- set {_reel1} to "♣"
- if {_reel1} is 5:
- set {_reel1} to "♠"
- if {_reel1} is 6:
- set {_reel1} to "○"
- if {_reel1} is 7:
- set {_reel1} to "•"
- if {_reel1} is 8:
- set {_reel1} to "&4☼&r"
- if {_reel1} is 9:
- set {_reel1} to "&6▲&r"
- if {_reel1} is 10:
- set {_reel1} to "&9▼&r"
- if {_reel2} is 1:
- set {_reel2} to "&a☸&r"
- if {_reel2} is 2:
- set {_reel2} to "&c♥&r"
- if {_reel2} is 3:
- set {_reel2} to "&c♦&r"
- if {_reel2} is 4:
- set {_reel2} to "♣"
- if {_reel2} is 5:
- set {_reel2} to "♠"
- if {_reel2} is 6:
- set {_reel2} to "○"
- if {_reel2} is 7:
- set {_reel2} to "•"
- if {_reel2} is 8:
- set {_reel2} to "&4☼&r"
- if {_reel2} is 9:
- set {_reel2} to "&6▲&r"
- if {_reel2} is 10:
- set {_reel2} to "&9▼&r"
- if {_reel3} is 1:
- set {_reel3} to "&a☸&r"
- if {_reel3} is 2:
- set {_reel3} to "&c♥&r"
- if {_reel3} is 3:
- set {_reel3} to "&c♦&r"
- if {_reel3} is 4:
- set {_reel3} to "♣"
- if {_reel3} is 5:
- set {_reel3} to "♠"
- if {_reel3} is 6:
- set {_reel3} to "○"
- if {_reel3} is 7:
- set {_reel3} to "•"
- if {_reel3} is 8:
- set {_reel3} to "&4☼&r"
- if {_reel3} is 9:
- set {_reel3} to "&6▲&r"
- if {_reel3} is 10:
- set {_reel3} to "&9▼&r"
- set line 2 of block to "&f►&r %{_reel1}% %{_reel2}% %{_reel3}% &f◄"
- wait 1 tick
- set line 4 of block to "✯ Ready ✯"
- set line 3 of block to " "
- if {_reel1} is {_reel2}:
- if {_reel1} is {_reel3}:
- add {@slots-jackpot} to player's money
- message "&a+ ${@slots-jackpot}"
- broadcast "&8[&4Casino&8] &e%player% &6won &a+ ${@slots-jackpot} on slots jackpot!"
- stop
- add {@slots-win-minor} to player's money
- message "&a+ ${@slots-win-minor}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement