Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {uuid::%player%} to player
- set {navn::%player%} to player
- command /bet [<text>]:
- permission: *
- trigger:
- if arg-1 is not set:
- loop {penge.roulette::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- wait 5 ticks
- set {_result} to 0
- loop {_high.to.low.list::*}:
- add 1 to {_result}
- set {top.r%{_result}%} to {navn::%loop-value%}
- set {top.n%{_result}%} to loop-value
- if {_result} is 3:
- stop loop
- open chest with 3 rows named "&2&lROULETTE" to player
- wait 3 ticks
- if inventory name of player's current inventory is "&2&lROULETTE":
- loop integers from 0 to 26:
- format slot loop-number of player with white stained glass pane named "&r" to be unstealable
- if {roulette.igang} is true:
- format slot 13 of player with 166 named "&4&lIGANG" with lore "&cSpillet er allerede igang." to be unstealable
- stop
- if {roulette::%player%} is true:
- format slot 13 of player with 166 named "&4&lALLEREDE" with lore "&cDu er allerede joinet." to be unstealable
- format slot 11 of player with paper named "&4&lJOINET" with lore "&cDer er ialt joinet &4%(size of {roulette::*})%" to be unstealable
- if (size of {roulette::*}) is 1:
- format slot 15 of player with player head named "&4&lTOP 3" with lore "&4&l1&r&7. &c%{top.n1}% &8(&4$%{penge.roulette::*}%&8)||&4&l2&r&7. &cIngen||&4&l3&r&7. &cIngen" to be unstealable
- if (size of {roulette::*}) is 2:
- format slot 15 of player with player head named "&4&lTOP 3" with lore "&4&l1&r&7. &c%{top.n1}% &8(&4$%{penge.roulette::%{uuid::%{top.r1}%}%}%&8)||&4&l2&r&7. &c%{top.n2}% &8(&4$%{penge.roulette::%{uuid::%{top.r2}%}%}%&8)||&4&l3&r&7. &cIngen" to be unstealable
- if (size of {roulette::*}) is greater or equal to 3:
- format slot 15 of player with player head named "&4&lTOP 3" with lore "&4&l1&r&7. &c%{top.n1}% &8(&4$%{penge.roulette::%{uuid::%{top.r1}%}%}%&8)||&4&l2&r&7. &c%{top.n2}% &8(&4$%{penge.roulette::%{uuid::%{top.r2}%}%}%&8)||&4&l3&r&7. &c%{top.n3}% &8(&4$%{penge.roulette::%{uuid::%{top.r3}%}%}%&8)" to be unstealable
- stop
- format slot 11 of player with black stained glass pane named "&8&lSORT" with lore "&7Chance&8: &750%%||&7Ganger&8: &72x" to close then run [ make player execute command "bet sort"]
- format slot 13 of player with red stained glass pane named "&4&lRØD" with lore "&7Chance&8: &750%%||&7Ganger&8: &72x" to close then run [ make player execute command "bet rød"]
- format slot 15 of player with light green stained glass pane named "&2&lGRØN" with lore "&7Chance&8: &73%%||&7Ganger&8: &710x" to close then run [ make player execute command "bet grøn"]
- if arg-1 is "Rød":
- if {roulette::%player%} is true:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- if {nummer.roulette::%player%} is set:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- set {nummer.roulette::%player%} to "Rød"
- close player's inventory
- send "&8&m--------------------------"
- send ""
- send "&7Skriv det antal penge du vil bette i chatten."
- send "&7Skriv 'Nej' i chatten, hvis du ikke vil."
- send ""
- send "&8&m--------------------------"
- if arg-1 is "Grøn":
- if {roulette::%player%} is true:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- if {nummer.roulette::%player%} is set:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- set {nummer.roulette::%player%} to "Grøn"
- close player's inventory
- send "&8&m--------------------------"
- send ""
- send "&7Skriv det antal penge du vil bette i chatten."
- send "&7Skriv 'Nej' i chatten, hvis du ikke vil."
- send ""
- send "&8&m--------------------------"
- if arg-1 is "Sort":
- if {roulette::%player%} is true:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- if {nummer.roulette::%player%} is set:
- send "&8[&4Casino&8] &7Du kan kun bet 1 gang."
- stop
- set {nummer.roulette::%player%} to "Sort"
- close player's inventory
- send "&8&m--------------------------"
- send ""
- send "&7Skriv det antal penge du vil bette i chatten."
- send "&7Skriv 'Nej' i chatten, hvis du ikke vil."
- send ""
- send "&8&m--------------------------"
- on chat:
- cancel event
- if {nummer.roulette::%player%} is "Rød":
- if message is "Nej":
- delete {nummer.roulette::%player%}
- send "&8[&4Casino&8] &7Du gik ud af rouletten."
- stop
- else:
- execute player command "bete rød %message%"
- stop
- if {nummer.roulette::%player%} is "Sort":
- if message is "Nej":
- delete {nummer.roulette::%player%}
- send "&8[&4Casino&8] &7Du gik ud af rouletten."
- stop
- else:
- execute player command "bete sort %message%"
- stop
- if {nummer.roulette::%player%} is "Grøn":
- if message is "Nej":
- delete {nummer.roulette::%player%}
- send "&8[&4Casino&8] &7Du gik ud af rouletten."
- stop
- else:
- execute player command "bete grøn %message%"
- stop
- else:
- stop
- command /bete [<text>] [<number>]:
- trigger:
- if {roulette.igang} is set:
- send "&8[&4Casino&8] &7Du kan ikke joine når den allerede er igang."
- delete {nummer.roulette::%player%}
- stop
- if {roulette::%player%} is set:
- send "&8[&4Casino&8] &7Du er allerede joinet"
- delete {nummer.roulette::%player%}
- stop
- else:
- if arg-1 is not set:
- stop
- else:
- if arg-2 is not set:
- stop
- else:
- if arg-1 is "rød" or "red":
- if arg-2 is a number:
- if player's balance is greater or equal to arg-2:
- subtract arg-2 from player's balance
- send "&8[&4Casino&8] &7Du joinede &cRød&7 med et bet på &a$%arg-2%"
- set {rød.roulette::%player%} to true
- delete {sort.roulette::%player%}
- delete {grøn.roulette::%player%}
- set {roulette::%player%} to true
- set {penge.roulette::%player%} to arg-2
- delete {nummer.roulette::%player%}
- stop
- else:
- send "&8[&4Casino&8] &7Du har ikke nok penge"
- stop
- else:
- send "&8[&4Casino&8] &7Du skal skrive et rigtigt tal."
- stop
- if arg-1 is "sort" or "black":
- if arg-2 is a number:
- if player's balance is greater or equal to arg-2:
- subtract arg-2 from player's balance
- send "&8[&4Casino&8] &7Du joinede &8Sort&7 med et bet på &a$%arg-2%"
- set {sort.roulette::%player%} to true
- delete {rød.roulette::%player%}
- delete {grøn.roulette::%player%}
- set {roulette::%player%} to true
- set {penge.roulette::%player%} to arg-2
- delete {nummer.roulette::%player%}
- stop
- else:
- send "&8[&4Casino&8] &7Du har ikke nok penge"
- stop
- else:
- send "&8[&4Casino&8] &7Du skal skrive et rigtigt tal."
- stop
- if arg-1 is "grøn" or "green":
- if arg-2 is a number:
- if player's balance is greater or equal to arg-2:
- subtract arg-2 from player's balance
- send "&8[&4Casino&8] &7Du joinede &aGrøn&7 med et bet på &a$%arg-2%"
- set {grøn.roulette::%player%} to true
- delete {rød.roulette::%player%}
- delete {sort.roulette::%player%}
- set {roulette::%player%} to true
- set {penge.roulette::%player%} to arg-2
- delete {nummer.roulette::%player%}
- stop
- else:
- send "&8[&4Casino&8] &7Du har ikke nok penge"
- stop
- else:
- send "&8[&4Casino&8] &7Du skal skrive et rigtigt tal."
- stop
- command /rollsetloc [<text>]:
- permission: *
- permission message: &cDu har ikke adgang til dette.
- trigger:
- if arg-1 is "1":
- set {roll.location::1} to location of target block
- send "&8[&4Casino&8] &7Du satte punkt 1"
- if arg-1 is "2":
- set {roll.location::2} to location of target block
- send "&8[&4Casino&8] &7Du satte punkt 2"
- if arg-1 is "3":
- set {roll.location::3} to location of target block
- send "&8[&4Casino&8] &7Du satte punkt 3"
- if arg-1 is "4":
- set {roll.location::4} to location of target block
- send "&8[&4Casino&8] &7Du satte punkt 4"
- if arg-1 is "5":
- set {roll.location::5} to location of target block
- send "&8[&4Casino&8] &7Du satte punkt 5"
- every 35 seconds:
- if {roulette.igang1} is set:
- stop
- else:
- set {_size} to (size of {roulette::*})
- if {_size} is greater or equal to 5:
- execute console command "roll"
- else:
- execute console command "rolle"
- command /rolle:
- permission: *
- trigger:
- set {_size} to (size of {roulette::*})
- if {_size} is not set:
- set {_size} to 0
- loop players in radius 10 around location of {roll.location::3}:
- set {_Mangler} to 5
- set {_Spillere} to (size of {roulette::*})
- reduce {_Mangler} by {_Spillere}
- send "&8[&4Casino&8] &7Der mangler &c%{_Mangler}%&7 spillere før at rouletten går igang." to loop-player
- command /roll:
- permission: *
- permission message: &cDu har ikke adgang til dette.
- trigger:
- if player has permission "*":
- if player has permission "*":
- set {roulette.igang1} to true
- send "&8[&4Casino&8] &7Du har startet rouletten."
- broadcast "&8[&4Casino&8] &7Rouletten starter om 1 minut, skriv &c/bet&7 for at bette."
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 30 seconds
- loop players in radius 25 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 30 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 15 seconds
- loop players in radius 15 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 15 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 5 seconds
- loop players in radius 10 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 10 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 5 seconds
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 5 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 seconds
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 4 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 seconds
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 3 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 seconds
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 2 sekunder." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 seconds
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten starter om 1 sekund." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 second
- loop players in radius 8 around location of {roll.location::3}:
- send "&8[&4Casino&8] &7Rouletten er nu startet." to loop-player
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- set {_reel1} to a random integer between 0 and 100
- set {roulette.igang} to true
- if {_reel1} is between 0 and 48:
- loop 10 times:
- add 1 to {_resut1}
- delete {_rew}
- chance of 10%:
- set {_rew} to true
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- if {_rew} is true:
- set block at {roll.location::1} to green stained clay
- else:
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- if {_rew} is true:
- set block at {roll.location::2} to green stained clay
- else:
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- if {_rew} is true:
- set block at {roll.location::3} to green stained clay
- else:
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- if {_rew} is true:
- set block at {roll.location::4} to green stained clay
- else:
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- if {_rew} is true:
- set block at {roll.location::5} to green stained clay
- else:
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- if {_resut1} is 10:
- loop all players:
- if {roulette::%loop-player%} is true:
- if {sort.roulette::%loop-player%} is true:
- add {penge.roulette::%loop-player%} to loop-player's balance
- add {penge.roulette::%loop-player%} to loop-player's balance
- send "&8[&4Casino&8] &7Du vandt dit bet på &8Sort&7 og fik &a$%{penge.roulette::%loop-player%} * 2%&7 ud af det"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- else:
- send "&8[&4Casino&8] &7Du tabte dit bet på &a$%{penge.roulette::%{uuid::%loop-player%}%}%"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- delete {roulette.igang}
- delete {roulette.igang1}
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- stop
- if {_reel1} is between 49 and 95:
- loop 10 times:
- add 1 to {_resut2}
- delete {_rew}
- chance of 10%:
- set {_rew} to true
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- wait 10 ticks
- if {_rew} is true:
- set block at {roll.location::1} to green stained clay
- else:
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- if {_rew} is true:
- set block at {roll.location::2} to green stained clay
- else:
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- if {_rew} is true:
- set block at {roll.location::3} to green stained clay
- else:
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- if {_rew} is true:
- set block at {roll.location::4} to green stained clay
- else:
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- if {_rew} is true:
- set block at {roll.location::5} to green stained clay
- else:
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- if {_resut2} is 10:
- loop all players:
- if {roulette::%loop-player%} is true:
- if {rød.roulette::%loop-player%} is true:
- add {penge.roulette::%loop-player%} to loop-player's balance
- add {penge.roulette::%loop-player%} to loop-player's balance
- send "&8[&4Casino&8] &7Du vandt dit bet på &cRød&7 og fik &a$%{penge.roulette::%loop-player%} * 2%&7 ud af det"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- else:
- send "&8[&4Casino&8] &7Du tabte dit bet på &a$%{penge.roulette::%{uuid::%loop-player%}%}%"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- delete {roulette.igang}
- delete {roulette.igang1}
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- stop
- else:
- loop 10 times:
- add 1 to {_resut3}
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- wait 10 ticks
- if {_resut3} is 10:
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to green stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to green stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to green stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- else:
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to red stained clay
- set block at {roll.location::2} to black stained clay
- set block at {roll.location::3} to red stained clay
- set block at {roll.location::4} to black stained clay
- set block at {roll.location::5} to red stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- set block at {roll.location::1} to black stained clay
- set block at {roll.location::2} to red stained clay
- set block at {roll.location::3} to black stained clay
- set block at {roll.location::4} to red stained clay
- set block at {roll.location::5} to black stained clay
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 10 ticks
- if {_resut3} is 10:
- loop all players:
- if {roulette::%loop-player%} is true:
- if {grøn.roulette::%loop-player%} is true:
- loop 10 times:
- add {penge.roulette::%loop-player%} to loop-player's balance
- send "&8[&4Casino&8] &7Du vandt dit bet på &aGrøn&7 og fik &a$%{penge.roulette::%loop-player%} * 10%&7 ud af det"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- else:
- send "&8[&4Casino&8] &7Du tabte dit bet på &a$%{penge.roulette::%{uuid::%loop-player%}%}%"
- delete {roulette::%loop-player%}
- delete {penge.roulette::%loop-player%}
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- wait 1 ticks
- play raw sound "note.pling" at location of {roll.location::3} with pitch 2 volume 8
- delete {roulette.igang}
- delete {roulette.igang1}
- else:
- send "&8[&4Casino&8] &7Der skal være mere end 5 med i rouletten."
- stop
- else:
- send "&8[&4Casino&8] &7Der er allerede et roll igang"
- stop
- on quit:
- delete {rød.roulette::%player%}
- delete {grøn.roulette::%player%}
- delete {sort.roulette::%player%}
- delete {roulette::%player%}
- delete {nummer.roulette::%player%}
- if {penge.roulette::%player%} is set:
- add {penge.roulette::%player%} to player's balance
- delete {penge.roulette::%player%}
Advertisement
Add Comment
Please, Sign In to add comment