Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CREATED BY LexGamer
- #ALL RIGHTS GOES TO THEM!
- #YOU CAN'T COPY IT, BUT YOU CAN USE AS A TEMPLATE OF ANOTHER TEMPLATE!
- #YOU CAN EDIT ONLY THE MESSAGES!
- options:
- #SIGN LINES
- signprefix: &7[&6Casino&7]
- line2: &aRight Click
- line3: &aPlay A Game
- line4: &c5000/game
- #BEFORE MESSAGES
- messageprefix: &7[&6Casino&7]
- #IF THE PLAYER USE THE CASINO MESSAGES
- inusemessage: &cThe casino is now under using! Wait 5-10 sec please.
- #HOW MANY MONEY WILL BE REMOVED WHEN PLAYER USE THE CASINO
- removedmoney: 5000
- #PLAYER CAN WIN BETWEEN THIS AMOUNT
- canwin1: 0
- canwin2: 15000
- #WHEN THE PLAYER WIN (ON THE SIGN)
- colorofthename: &a #COLOR CODE
- playerwin: &aWon #AND THE AMOUNT WILL APPEAR AFTER THIS
- #WHEN YOU WIN, THE MESSAGE (IN CHAT)
- winmessage: &aYou won #AND THE AMOUNT WILL APPEAR AFTER THIS
- #WHEN USE THE CASINOFIX COMMAND
- casinofixmessage: &aThe casinosign bug fixed!
- casinofixmessageerror: &cError! You dont have permission! (casino.fix)
- # BECAUSE IT'S A SKRIPT, WE WROTE THE SYSTEM BELOW THIS HASHTAGS
- # PLEASE DON'T EDIT THINGS BELOW THIS TEXT, BECAUSE ALL YOU SHOULD EDIT IS HERE, ABOVE THIS TEXT
- # THANK YOU SO MUCH FOR THE DOWNLOAD
- # (THE SYSTEM IS BELOW THIS TEXT, AND IF YOU EDIT THE SYSTEM, IT MIGHT NOT WORK)
- # PLEASE DON'T EDIT THE VARIABLES (FOR EXAMPLE %arg-2%) BECAUSE IT MIGHT NOT WORK!
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- command /casinosign [<text>]:
- permission: casino.fix
- permission message: {@casinofixmessageerror}
- trigger:
- if arg-1 is not set:
- message "&e/casinosign fix &6(Permission: casino.fix)"
- message "&6Fix the casino bug(When the casino not working)"
- if arg-1 is "fix":
- message "{@casinofixmessage}"
- set {casino.underuse} to false
- on sign change:
- if line 1 of block is "[casinoset]" or "[CasinoSet]":
- set line 1 of block to "{@signprefix}"
- set line 2 of block to "{@line2}"
- set line 3 of block to "{@line3}"
- set line 4 of block to "{@line4}"
- on rightclick on sign:
- if player's balance is more than or equal to {@removedmoney}:
- if {casino.underuse} is false:
- set {casino.underuse} to true
- 1st line of clicked block is "{@signprefix}"
- 2nd line of clicked block is "{@line2}"
- if {casino.underuse} is true:
- remove {@removedmoney} from player's balance
- message "&a{@removedmoney}$ has been removed from your balance."
- set {casino.%player%} to a random integer between {@canwin1} and {@canwin2}
- set line 4 of block to "&5&kaaaaa"
- wait 2 second
- set line 3 of block to "{@colorofthename}%player%"
- set line 4 of block to "{@playerwin} &5%{casino.%player%}%"
- wait 20 tick
- add {casino.%player%} to {casino.isbalance.%player%}
- message "{@messageprefix} {@winmessage} &6%{casino.%player%}%$&a!"
- execute server command "eco give %command sender% %{casino.%player%}%"
- wait 1 second
- set line 3 of block to "{@line3}"
- set line 4 of block to "{@line4}"
- set {casino.underuse} to false
- else:
- message "{@messageprefix} {@inusemessage}"
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- on load:
- broadcast "{@messageprefix} &eThe CasinoSign created by &4&lAdmin &8x &4LexGamer &7Nur für SkyKit.ml"
- on unload:
- broadcast "{@messageprefix} &eThe CasinoSign created by &4&lAdmin &8x &4LexGamer &7Nur für SkyKit.ml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement