Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /coinflip:
- aliases: /cf
- trigger:
- wait 2 tick
- open chest with 4 rows named "&6&lMARIOFLIP" to player
- wait 1 tick
- format slot 0 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" with lore "&6Bet: &a$%{coinflip.plads.1.bet}%" to close then run [execute player command "/joincoinflip 1"]
- format slot 1 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" with lore "&6Bet: &a$%{coinflip.plads.2.bet}%" to close then run [execute player command "/joincoinflip 2"]
- format slot 2 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" with lore "&6Bet: &a$%{coinflip.plads.3.bet}%" to close then run [execute player command "/joincoinflip 3"]
- format slot 3 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" with lore "&6Bet: &a$%{coinflip.plads.4.bet}%" to close then run [execute player command "/joincoinflip 4"]
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" with lore "&6Bet: &a$%{coinflip.plads.5.bet}%" to close then run [execute player command "/joincoinflip 5"]
- format slot 5 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" with lore "&6Bet: &a$%{coinflip.plads.6.bet}%" to close then run [execute player command "/joincoinflip 6"]
- format slot 6 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" with lore "&6Bet: &a$%{coinflip.plads.7.bet}%" to close then run [execute player command "/joincoinflip 7"]
- format slot 7 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" with lore "&6Bet: &a$%{coinflip.plads.8.bet}%" to close then run [execute player command "/joincoinflip 8"]
- format slot 8 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" with lore "&6Bet: &a$%{coinflip.plads.9.bet}%" to close then run [execute player command "/joincoinflip 9"]
- format slot 9 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" with lore "&6Bet: &a$%{coinflip.plads.10.bet}%" to close then run [execute player command "/joincoinflip 10"]
- format slot 10 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.11}%" with lore "&6Bet: &a$%{coinflip.plads.11.bet}%" to close then run [execute player command "/joincoinflip 11"]
- format slot 11 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.12}%" with lore "&6Bet: &a$%{coinflip.plads.12.bet}%" to close then run [execute player command "/joincoinflip 12"]
- format slot 12 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.13}%" with lore "&6Bet: &a$%{coinflip.plads.13.bet}%" to close then run [execute player command "/joincoinflip 13"]
- format slot 13 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.14}%" with lore "&6Bet: &a$%{coinflip.plads.14.bet}%" to close then run [execute player command "/joincoinflip 14"]
- format slot 14 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.15}%" with lore "&6Bet: &a$%{coinflip.plads.15.bet}%" to close then run [execute player command "/joincoinflip 15"]
- format slot 15 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.16}%" with lore "&6Bet: &a$%{coinflip.plads.16.bet}%" to close then run [execute player command "/joincoinflip 16"]
- format slot 16 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.17}%" with lore "&6Bet: &a$%{coinflip.plads.17.bet}%" to close then run [execute player command "/joincoinflip 17"]
- format slot 17 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" with lore "&6Bet: &a$%{coinflip.plads.18.bet}%" to close then run [execute player command "/joincoinflip 18"]
- format slot 18 of player with orange glass named "&7" to be unstealable
- format slot 19 of player with yellow glass named "&7" to be unstealable
- format slot 20 of player with orange glass named "&7" to be unstealable
- format slot 21 of player with yellow glass named "&7" to be unstealable
- format slot 22 of player with orange glass named "&7" to be unstealable
- format slot 23 of player with yellow glass named "&7" to be unstealable
- format slot 24 of player with orange glass named "&7" to be unstealable
- format slot 25 of player with yellow glass named "&7" to be unstealable
- format slot 26 of player with orange glass named "&7" to be unstealable
- format slot 31 of player with 1 38:7 named "&6&lOPDATER" to close then run [execute player command "/cf" and "/opdatercoinflip"]
- format slot 27 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7joiner du med samme antal beløb||&8 &7som ham du joinede.||&8 &7Og du får selvfølgelig også samme chance||&8 &7for at vinde som han har." to be unstealable
- format slot 29 of player with 1 book named "&2&lOPRET COINFLIP" with lore "&8 &7Klik her for at oprette en coinflip!" to close then run [execute player command "/coinflipopret"]
- format slot 33 of player with 1 book named "&2&lOPRET COINFLIP" with lore "&8 &7Klik her for at oprette en coinflip!" to close then run [execute player command "/coinflipopret"]
- format slot 35 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7joiner du med samme antal beløb||&8 &7som ham du joinede.||&8 &7Og du får selvfølgelig også samme chance||&8 &7for at vinde som han har." to be unstealable
- command /coinflipopret:
- trigger:
- wait 2 ticks
- open chest with 3 rows named "&2&lOPRET EN COINFLIP" to player
- wait 2 ticks
- format slot 0 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
- format slot 8 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
- format slot 18 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
- format slot 26 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
- format slot 4 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7Laver du et coinflip." to be unstealable
- format slot 22 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7Laver du et coinflip." to be unstealable
- format slot 13 of player with 1 gold ingot named "&2&l$1000" with lore "&7&oOpretter et coinflip på &c$1000" to close then run [execute player command "/coinflipopretgold"]
- format slot 14 of player with 1 diamond named "&2&l$3000" with lore "&7&oOpretter et coinflip på &c$3000" to close then run [execute player command "/coinflipopretdiamond"]
- format slot 15 of player with 1 emerald named "&2&l$5000" with lore "&7&oOpretter et coinflip på &c$5000" to close then run [execute player command "/coinflipopretemerald"]
- format slot 12 of player with 1 iron ingot named "&2&l$500" with lore "&7&oOpretter et coinflip på &c$500" to close then run [execute player command "/coinflipopretiron"]
- format slot 11 of player with 263 named "&2&l$250" with lore "&7&oOpretter et coinflip på &c$250" to close then run [execute player command "/coinflipopretcoal"]
- command /coinflipopretcoal:
- trigger:
- wait 1 tick
- if player's balance is more than 249:
- if {coinflip.plads.1} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.1} to player
- set {coinflip.plads.1.bet} to 250
- set {coinflip.status.1} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.2} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.2} to player
- set {coinflip.plads.2.bet} to 250
- set {coinflip.status.2} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.3} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.3} to player
- set {coinflip.plads.3.bet} to 250
- set {coinflip.status.3} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.4} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.4} to player
- set {coinflip.plads.4.bet} to 250
- set {coinflip.status.4} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.5} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.5} to player
- set {coinflip.plads.5.bet} to 250
- set {coinflip.status.5} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.6} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.6} to player
- set {coinflip.plads.6.bet} to 250
- set {coinflip.status.6} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.7} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.7} to player
- set {coinflip.plads.7.bet} to 250
- set {coinflip.status.7} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.8} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.8} to player
- set {coinflip.plads.8.bet} to 250
- set {coinflip.status.8} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.9} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.9} to player
- set {coinflip.plads.9.bet} to 250
- set {coinflip.status.9} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.10} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.10} to player
- set {coinflip.plads.10.bet} to 250
- set {coinflip.status.10} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.11} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.11} to player
- set {coinflip.plads.11.bet} to 250
- set {coinflip.status.11} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.12} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.12} to player
- set {coinflip.plads.12.bet} to 250
- set {coinflip.status.12} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.13} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.13} to player
- set {coinflip.plads.13.bet} to 250
- set {coinflip.status.13} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.14} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.14} to player
- set {coinflip.plads.14.bet} to 250
- set {coinflip.status.14} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.15} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.15} to player
- set {coinflip.plads.15.bet} to 250
- set {coinflip.status.15} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.16} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.16} to player
- set {coinflip.plads.16.bet} to 250
- set {coinflip.status.16} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.17} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.17} to player
- set {coinflip.plads.17.bet} to 250
- set {coinflip.status.17} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.18} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 250 from player's balance
- set {coinflip.plads.18} to player
- set {coinflip.plads.18.bet} to 250
- set {coinflip.status.18} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- Else:
- message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
- else:
- message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
- else:
- message "&6&lCOINFLIP &8» &eDu har ikke &6&l$250!"
- command /coinflipopretiron:
- trigger:
- wait 1 tick
- if player's balance is more than 499:
- if {coinflip.plads.1} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.1} to player
- set {coinflip.plads.1.bet} to 500
- set {coinflip.status.1} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.2} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.2} to player
- set {coinflip.plads.2.bet} to 500
- set {coinflip.status.2} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.3} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.3} to player
- set {coinflip.plads.3.bet} to 500
- set {coinflip.status.3} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.4} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.4} to player
- set {coinflip.plads.4.bet} to 500
- set {coinflip.status.4} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.5} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.5} to player
- set {coinflip.plads.5.bet} to 500
- set {coinflip.status.5} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.6} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.6} to player
- set {coinflip.plads.6.bet} to 500
- set {coinflip.status.6} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.7} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.7} to player
- set {coinflip.plads.7.bet} to 500
- set {coinflip.status.7} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.8} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.8} to player
- set {coinflip.plads.8.bet} to 500
- set {coinflip.status.8} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.9} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.9} to player
- set {coinflip.plads.9.bet} to 500
- set {coinflip.status.9} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.10} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.10} to player
- set {coinflip.plads.10.bet} to 500
- set {coinflip.status.10} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.11} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.11} to player
- set {coinflip.plads.11.bet} to 500
- set {coinflip.status.11} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.12} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.12} to player
- set {coinflip.plads.12.bet} to 500
- set {coinflip.status.12} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.13} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.13} to player
- set {coinflip.plads.13.bet} to 500
- set {coinflip.status.13} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.14} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.14} to player
- set {coinflip.plads.14.bet} to 500
- set {coinflip.status.14} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.15} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.15} to player
- set {coinflip.plads.15.bet} to 500
- set {coinflip.status.15} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.16} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.16} to player
- set {coinflip.plads.16.bet} to 500
- set {coinflip.status.16} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.17} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.17} to player
- set {coinflip.plads.17.bet} to 500
- set {coinflip.status.17} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.18} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 500 from player's balance
- set {coinflip.plads.18} to player
- set {coinflip.plads.18.bet} to 500
- set {coinflip.status.18} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- Else:
- message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
- else:
- message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
- else:
- message "&6&lCOINFLIP &8» &eDu har ikke &6&l$500!"
- command /coinflipopretgold:
- trigger:
- wait 1 tick
- if player's balance is more than 999:
- if {coinflip.plads.1} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.1} to player
- set {coinflip.plads.1.bet} to 1000
- set {coinflip.status.1} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.2} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.2} to player
- set {coinflip.plads.2.bet} to 1000
- set {coinflip.status.2} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.3} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.3} to player
- set {coinflip.plads.3.bet} to 1000
- set {coinflip.status.3} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.4} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.4} to player
- set {coinflip.plads.4.bet} to 1000
- set {coinflip.status.4} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.5} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.5} to player
- set {coinflip.plads.5.bet} to 1000
- set {coinflip.status.5} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.6} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.6} to player
- set {coinflip.plads.6.bet} to 1000
- set {coinflip.status.6} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.7} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.7} to player
- set {coinflip.plads.7.bet} to 1000
- set {coinflip.status.7} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.8} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.8} to player
- set {coinflip.plads.8.bet} to 1000
- set {coinflip.status.8} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.9} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.9} to player
- set {coinflip.plads.9.bet} to 1000
- set {coinflip.status.9} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.10} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.10} to player
- set {coinflip.plads.10.bet} to 1000
- set {coinflip.status.10} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.11} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.11} to player
- set {coinflip.plads.11.bet} to 1000
- set {coinflip.status.11} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.12} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.12} to player
- set {coinflip.plads.12.bet} to 1000
- set {coinflip.status.12} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.13} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.13} to player
- set {coinflip.plads.13.bet} to 1000
- set {coinflip.status.13} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.14} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.14} to player
- set {coinflip.plads.14.bet} to 1000
- set {coinflip.status.14} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.15} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.15} to player
- set {coinflip.plads.15.bet} to 1000
- set {coinflip.status.15} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.16} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.16} to player
- set {coinflip.plads.16.bet} to 1000
- set {coinflip.status.16} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.17} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.17} to player
- set {coinflip.plads.17.bet} to 1000
- set {coinflip.status.17} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.18} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 1000 from player's balance
- set {coinflip.plads.18} to player
- set {coinflip.plads.18.bet} to 1000
- set {coinflip.status.18} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- Else:
- message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
- else:
- message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
- else:
- message "&6&lCOINFLIP &8» &eDu har ikke &6&l$1000!"
- command /coinflipopretdiamond:
- trigger:
- if player's balance is more than 2999:
- if {coinflip.plads.1} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.1} to player
- set {coinflip.plads.1.bet} to 3000
- set {coinflip.status.1} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.2} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.2} to player
- set {coinflip.plads.2.bet} to 3000
- set {coinflip.status.2} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.3} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.3} to player
- set {coinflip.plads.3.bet} to 3000
- set {coinflip.status.3} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.4} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.4} to player
- set {coinflip.plads.4.bet} to 3000
- set {coinflip.status.4} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.5} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.5} to player
- set {coinflip.plads.5.bet} to 3000
- set {coinflip.status.5} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.6} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.6} to player
- set {coinflip.plads.6.bet} to 3000
- set {coinflip.status.6} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.7} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.7} to player
- set {coinflip.plads.7.bet} to 3000
- set {coinflip.status.7} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.8} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.8} to player
- set {coinflip.plads.8.bet} to 3000
- set {coinflip.status.8} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.9} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.9} to player
- set {coinflip.plads.9.bet} to 3000
- set {coinflip.status.9} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.10} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.10} to player
- set {coinflip.plads.10.bet} to 3000
- set {coinflip.status.10} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.11} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.11} to player
- set {coinflip.plads.11.bet} to 3000
- set {coinflip.status.11} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.12} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.12} to player
- set {coinflip.plads.12.bet} to 3000
- set {coinflip.status.12} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.13} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.13} to player
- set {coinflip.plads.13.bet} to 3000
- set {coinflip.status.13} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.14} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.14} to player
- set {coinflip.plads.14.bet} to 3000
- set {coinflip.status.14} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.15} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.15} to player
- set {coinflip.plads.15.bet} to 3000
- set {coinflip.status.15} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.16} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.16} to player
- set {coinflip.plads.16.bet} to 3000
- set {coinflip.status.16} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.17} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.17} to player
- set {coinflip.plads.17.bet} to 3000
- set {coinflip.status.17} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.18} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 3000 from player's balance
- set {coinflip.plads.18} to player
- set {coinflip.plads.18.bet} to 3000
- set {coinflip.status.18} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- Else:
- message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
- else:
- message "&6&lCOINFLIP &8 &7Der er desværre ikke flere coinflip pladser!"
- else:
- message "&6&lCOINFLIP &8» &eDu har ikke &6&l$3000!"
- command /coinflipopretemerald:
- trigger:
- if player's balance is more than 4999:
- if {coinflip.plads.1} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.1} to player
- set {coinflip.plads.1.bet} to 5000
- set {coinflip.status.1} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.2} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.2} to player
- set {coinflip.plads.2.bet} to 5000
- set {coinflip.status.2} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.3} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.3} to player
- set {coinflip.plads.3.bet} to 5000
- set {coinflip.status.3} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.4} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.4} to player
- set {coinflip.plads.4.bet} to 5000
- set {coinflip.status.4} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.5} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.5} to player
- set {coinflip.plads.5.bet} to 5000
- set {coinflip.status.5} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.6} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.6} to player
- set {coinflip.plads.6.bet} to 5000
- set {coinflip.status.6} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.7} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.7} to player
- set {coinflip.plads.7.bet} to 5000
- set {coinflip.status.7} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.8} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.8} to player
- set {coinflip.plads.8.bet} to 5000
- set {coinflip.status.8} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.9} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.9} to player
- set {coinflip.plads.9.bet} to 5000
- set {coinflip.status.9} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.10} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.10} to player
- set {coinflip.plads.10.bet} to 5000
- set {coinflip.status.10} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.11} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.11} to player
- set {coinflip.plads.11.bet} to 5000
- set {coinflip.status.11} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.12} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.12} to player
- set {coinflip.plads.12.bet} to 5000
- set {coinflip.status.12} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.13} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.13} to player
- set {coinflip.plads.13.bet} to 5000
- set {coinflip.status.13} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.14} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.14} to player
- set {coinflip.plads.14.bet} to 5000
- set {coinflip.status.14} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.15} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.15} to player
- set {coinflip.plads.15.bet} to 5000
- set {coinflip.status.15} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.16} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.16} to player
- set {coinflip.plads.16.bet} to 5000
- set {coinflip.status.16} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.17} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.17} to player
- set {coinflip.plads.17.bet} to 5000
- set {coinflip.status.17} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- if {coinflip.plads.18} is not set:
- if {coinflip.ingame.%player%} is not set:
- remove 5000 from player's balance
- set {coinflip.plads.18} to player
- set {coinflip.plads.18.bet} to 5000
- set {coinflip.status.18} to "&aÅBEN"
- set {coinflip.ingame.%player%} to 2
- message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
- stop
- Else:
- message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
- else:
- message "&6&lCOINFLIP &8» &7Der er desværre ikke flere coinflip pladser!"
- else:
- message "&6&lCOINFLIP &8» &eDu har ikke &6&l$5000!"
- command /joincoinflip [<text>]:
- trigger:
- if arg-1 is "1":
- if {coinflip.plads.1} is not command sender:
- if {coinflip.plads.1} is set:
- if {coinflip.status.1} is not "&aIGANG":
- if player's balance is more than or equal to {coinflip.plads.1.bet}:
- set {coinflip.status.1} to "&aIGANG"
- remove {coinflip.plads.1.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har nu joined et &6Coinflip&e mod &6&l%{coinflip.plads.1}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.1}
- wait 3 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
- set {vinder.coinflip.1} to a random integer between 1 and 2
- if {vinder.coinflip.1} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to close
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.1.bet}%&8) &eover &6%{coinflip.plads.1}% &ei et &6Coinflip!"
- make console execute command "/resetcoinflip %{coinflipplayer.plads.1}%"
- add {coinflip.plads.1.bet} to player's balance
- add {coinflip.plads.1.bet} to player's balance
- set {coinflip.status.1} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.1}%}
- delete {coinflip.plads.1}
- delete {vinder.coinflip.1}
- close player's inventory
- delete {coinflip.ingame.%{coinflip.plads.1}%}
- stop
- if {vinder.coinflip.1} is 2:
- wait 0.15 seconds
- format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to close
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.1}% &ehar lige vundet &8(&6$%{coinflip.plads.1.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- make console execute command "/resetcoinflip %{coinflipplayer.plads.1}%"
- add {coinflip.plads.1.bet} to {coinflip.plads.1}'s balance
- add {coinflip.plads.1.bet} to {coinflip.plads.1}'s balance
- set {coinflip.status.1} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.1}%}
- delete {coinflip.plads.1}
- delete {vinder.coinflip.1}
- delete {coinflip.ingame.%{coinflip.plads.1}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "2":
- if {coinflip.plads.2} is not command sender:
- if {coinflip.plads.2} is set:
- if {coinflip.status.2} is not "&aIGANG":
- if player's balance is more than or equal to {coinflip.plads.2.bet}:
- set {coinflip.status.2} to "&aIGANG"
- remove {coinflip.plads.2.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.2}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.2}
- wait 3 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 10 ticks
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- set {vinder.coinflip.2} to a random integer between 1 and 2
- if {vinder.coinflip.2} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.2.bet}%&8) &eover &6%{coinflip.plads.2}% &ei et &6Coinflip!"
- add {coinflip.plads.2.bet} to player's balance
- add {coinflip.plads.2.bet} to player's balance
- set {coinflip.status.2} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.2}%}
- delete {coinflip.plads.2}
- delete {vinder.coinflip.2}
- delete {coinflip.ingame.%{coinflip.plads.2}%}
- close player's inventory
- stop
- if {vinder.coinflip.2} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.2}% &ehar lige vundet &8(&6$%{coinflip.plads.2.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.2.bet} to {coinflip.plads.2}'s balance
- add {coinflip.plads.2.bet} to {coinflip.plads.2}'s balance
- set {coinflip.status.2} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.2}%}
- delete {coinflip.plads.2}
- delete {vinder.coinflip.2}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "3":
- if {coinflip.plads.3} is not command sender:
- if {coinflip.plads.3} is set:
- if {coinflip.status.3} is not "&aIGANG":
- if player's balance is more than or equal to {coinflip.plads.3.bet}:
- set {coinflip.status.3} to "&aIGANG"
- remove {coinflip.plads.3.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.3}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.3}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- set {vinder.coinflip.3} to a random integer between 1 and 2
- if {vinder.coinflip.3} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.3.bet}%&8) &eover &6%{coinflip.plads.3}% &ei et &6Coinflip!"
- add {coinflip.plads.3.bet} to player's balance
- add {coinflip.plads.3.bet} to player's balance
- set {coinflip.status.3} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.3}%}
- delete {coinflip.plads.3}
- delete {vinder.coinflip.3}
- delete {coinflip.ingame.%{coinflip.plads.3}%}
- close player's inventory
- stop
- if {vinder.coinflip.3} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.3}% &ehar lige vundet &8(&6$%{coinflip.plads.3.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.3.bet} to {coinflip.plads.3}'s balance
- add {coinflip.plads.3.bet} to {coinflip.plads.3}'s balance
- set {coinflip.status.3} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.3}%}
- delete {coinflip.plads.3}
- delete {vinder.coinflip.3}
- delete {coinflip.ingame.%{coinflip.plads.3}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "4":
- if {coinflip.plads.4} is not command sender:
- if {coinflip.plads.4} is set:
- if {coinflip.status.4} is not "&aIGANG":
- if player's balance is more than or equal to {coinflip.plads.4.bet}:
- set {coinflip.status.4} to "&aIGANG"
- remove {coinflip.plads.4.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.4}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.4}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- set {vinder.coinflip.4} to a random integer between 1 and 2
- if {vinder.coinflip.4} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.4.bet}%&8) &eover &6%{coinflip.plads.4}% &ei et &6Coinflip!"
- add {coinflip.plads.4.bet} to player's balance
- add {coinflip.plads.4.bet} to player's balance
- set {coinflip.status.4} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.4}%}
- delete {coinflip.plads.4}
- delete {vinder.coinflip.4}
- delete {coinflip.ingame.%{coinflip.plads.4}%}
- close player's inventory
- stop
- if {vinder.coinflip.4} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.4}% &ehar lige vundet &8(&6$%{coinflip.plads.4.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.4.bet} to {coinflip.plads.4}'s balance
- add {coinflip.plads.4.bet} to {coinflip.plads.4}'s balance
- set {coinflip.status.4} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.4}%}
- delete {coinflip.plads.4}
- delete {vinder.coinflip.4}
- delete {coinflip.ingame.%{coinflip.plads.4}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "5":
- if {coinflip.plads.5} is not command sender:
- if {coinflip.plads.5} is set:
- if {coinflip.status.5} is not "&aIGANG":
- if player's balance is more than or equal to {coinflip.plads.5.bet}:
- set {coinflip.status.5} to "&aIGANG"
- remove {coinflip.plads.5.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.5}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.5}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- set {vinder.coinflip.5} to a random integer between 1 and 2
- if {vinder.coinflip.5} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.5.bet}%&8) &eover &6%{coinflip.plads.5}% &ei et &6Coinflip!"
- add {coinflip.plads.5.bet} to player's balance
- add {coinflip.plads.5.bet} to player's balance
- set {coinflip.status.5} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.5}%}
- delete {coinflip.plads.5}
- delete {vinder.coinflip.5}
- delete {coinflip.ingame.%{coinflip.plads.5}%}
- close player's inventory
- stop
- if {vinder.coinflip.5} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.5}% &ehar lige vundet &8(&6$%{coinflip.plads.5.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.5.bet} to {coinflip.plads.5}'s balance
- add {coinflip.plads.5.bet} to {coinflip.plads.5}'s balance
- set {coinflip.status.5} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.5}%}
- delete {coinflip.plads.5}
- delete {vinder.coinflip.5}
- delete {coinflip.ingame.%{coinflip.plads.5}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "6":
- if {coinflip.plads.6} is not command sender:
- if {coinflip.plads.6} is set:
- if {coinflip.plads.6} is set:
- if player's balance is more than or equal to {coinflip.plads.6.bet}:
- set {coinflip.status.6} to "&aIGANG"
- remove {coinflip.plads.6.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.6}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.6}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- set {vinder.coinflip.6} to a random integer between 1 and 2
- if {vinder.coinflip.6} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.6.bet}%&8) &eover &6%{coinflip.plads.6}% &ei et &6Coinflip!"
- add {coinflip.plads.6.bet} to player's balance
- add {coinflip.plads.6.bet} to player's balance
- set {coinflip.status.6} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.6}%}
- delete {coinflip.plads.6}
- delete {vinder.coinflip.6}
- delete {coinflip.ingame.%{coinflip.plads.6}%}
- close player's inventory
- stop
- if {vinder.coinflip.6} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.6}% &ehar lige vundet &8(&6$%{coinflip.plads.6.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.6.bet} to {coinflip.plads.6}'s balance
- add {coinflip.plads.6.bet} to {coinflip.plads.6}'s balance
- set {coinflip.status.6} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.6}%}
- delete {coinflip.plads.6}
- delete {vinder.coinflip.6}
- delete {coinflip.ingame.%{coinflip.plads.6}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "7":
- if {coinflip.plads.7} is not command sender:
- if {coinflip.plads.7} is set:
- if {coinflip.plads.7} is set:
- if player's balance is more than or equal to {coinflip.plads.7.bet}:
- set {coinflip.status.7} to "&aIGANG"
- remove {coinflip.plads.7.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.7}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.7}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- set {vinder.coinflip.7} to a random integer between 1 and 2
- if {vinder.coinflip.7} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.7.bet}%&8) &eover &6%{coinflip.plads.7}% &ei et &6Coinflip!"
- add {coinflip.plads.7.bet} to player's balance
- add {coinflip.plads.7.bet} to player's balance
- set {coinflip.status.7} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.7}%}
- delete {coinflip.plads.7}
- delete {vinder.coinflip.7}
- delete {coinflip.ingame.%{coinflip.plads.7}%}
- close player's inventory
- stop
- if {vinder.coinflip.7} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.7}% &ehar lige vundet &8(&6$%{coinflip.plads.7.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.7.bet} to {coinflip.plads.7}'s balance
- add {coinflip.plads.7.bet} to {coinflip.plads.7}'s balance
- set {coinflip.status.7} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.7}%}
- delete {coinflip.plads.7}
- delete {vinder.coinflip.7}
- delete {coinflip.ingame.%{coinflip.plads.7}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "8":
- if {coinflip.plads.8} is not command sender:
- if {coinflip.plads.8} is set:
- if {coinflip.plads.8} is set:
- if player's balance is more than or equal to {coinflip.plads.8.bet}:
- set {coinflip.status.8} to "&aIGANG"
- remove {coinflip.plads.8.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.8}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.8}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- set {vinder.coinflip.8} to a random integer between 1 and 2
- if {vinder.coinflip.8} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.8.bet}%&8) &eover &6%{coinflip.plads.8}% &ei et &6Coinflip!"
- add {coinflip.plads.8.bet} to player's balance
- add {coinflip.plads.8.bet} to player's balance
- set {coinflip.status.8} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.8}%}
- delete {coinflip.plads.8}
- delete {vinder.coinflip.8}
- delete {coinflip.ingame.%{coinflip.plads.8}%}
- close player's inventory
- stop
- if {vinder.coinflip.8} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.8}% &ehar lige vundet &8(&6$%{coinflip.plads.8.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.8.bet} to {coinflip.plads.8}'s balance
- add {coinflip.plads.8.bet} to {coinflip.plads.8}'s balance
- set {coinflip.status.8} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.8}%}
- delete {coinflip.plads.8}
- delete {coinflip.ingame.%{coinflip.plads.8}%}
- delete {vinder.coinflip.8}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "9":
- if {coinflip.plads.9} is not command sender:
- if {coinflip.plads.9} is set:
- if {coinflip.plads.9} is set:
- if player's balance is more than or equal to {coinflip.plads.9.bet}:
- set {coinflip.status.9} to "&aIGANG"
- remove {coinflip.plads.9.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.9}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.9}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- set {vinder.coinflip.9} to a random integer between 1 and 2
- if {vinder.coinflip.9} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.9.bet}%&8) &eover &6%{coinflip.plads.9}% &ei et &6Coinflip!"
- add {coinflip.plads.9.bet} to player's balance
- add {coinflip.plads.9.bet} to player's balance
- set {coinflip.status.9} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.9}%}
- delete {coinflip.plads.9}
- delete {vinder.coinflip.9}
- delete {coinflip.ingame.%{coinflip.plads.9}%}
- close player's inventory
- stop
- if {vinder.coinflip.9} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.9}% &ehar lige vundet &8(&6$%{coinflip.plads.9.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.9.bet} to {coinflip.plads.9}'s balance
- add {coinflip.plads.9.bet} to {coinflip.plads.9}'s balance
- set {coinflip.status.9} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.9}%}
- delete {coinflip.plads.9}
- delete {coinflip.ingame.%{coinflip.plads.9}%}
- delete {vinder.coinflip.9}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "10":
- if {coinflip.plads.10} is not command sender:
- if {coinflip.plads.10} is set:
- if {coinflip.plads.10} is set:
- if player's balance is more than or equal to {coinflip.plads.10.bet}:
- set {coinflip.status.10} to "&aIGANG"
- remove {coinflip.plads.10.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.10}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.10}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- set {vinder.coinflip.10} to a random integer between 1 and 2
- if {vinder.coinflip.10} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.10.bet}%&8) &eover &6%{coinflip.plads.10}% &ei et &6Coinflip!"
- add {coinflip.plads.10.bet} to player's balance
- add {coinflip.plads.10.bet} to player's balance
- set {coinflip.status.10} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.10}%}
- delete {coinflip.plads.10}
- delete {vinder.coinflip.10}
- delete {coinflip.ingame.%{coinflip.plads.10}%}
- close player's inventory
- stop
- if {vinder.coinflip.10} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.10}% &ehar lige vundet &8(&6$%{coinflip.plads.10.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.10.bet} to {coinflip.plads.10}'s balance
- add {coinflip.plads.10.bet} to {coinflip.plads.10}'s balance
- set {coinflip.status.10} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.10}%}
- delete {coinflip.plads.10}
- delete {vinder.coinflip.10}
- delete {coinflip.ingame.%{coinflip.plads.10}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "11":
- if {coinflip.plads.11} is not command sender:
- if {coinflip.plads.11} is set:
- if {coinflip.plads.11} is set:
- if player's balance is more than or equal to {coinflip.plads.11.bet}:
- set {coinflip.status.11} to "&aIGANG"
- remove {coinflip.plads.11.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.11}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.11}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- set {vinder.coinflip.11} to a random integer between 1 and 2
- if {vinder.coinflip.11} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.11.bet}%&8) &eover &6%{coinflip.plads.11}% &ei et &6Coinflip!"
- add {coinflip.plads.11.bet} to player's balance
- add {coinflip.plads.11.bet} to player's balance
- set {coinflip.status.11} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.11}%}
- delete {coinflip.plads.11}
- delete {vinder.coinflip.11}
- delete {coinflip.ingame.%{coinflip.plads.11}%}
- close player's inventory
- stop
- if {vinder.coinflip.11} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.11}% &ehar lige vundet &8(&6$%{coinflip.plads.11.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.11.bet} to {coinflip.plads.11}'s balance
- add {coinflip.plads.11.bet} to {coinflip.plads.11}'s balance
- set {coinflip.status.11} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.11}%}
- delete {coinflip.plads.11}
- delete {vinder.coinflip.11}
- delete {coinflip.ingame.%{coinflip.plads.11}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "12":
- if {coinflip.plads.12} is not command sender:
- if {coinflip.plads.12} is set:
- if {coinflip.plads.12} is set:
- if player's balance is more than or equal to {coinflip.plads.12.bet}:
- set {coinflip.status.12} to "&aIGANG"
- remove {coinflip.plads.12.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.12}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.12}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- set {vinder.coinflip.12} to a random integer between 1 and 2
- if {vinder.coinflip.12} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.12.bet}%&8) &eover &6%{coinflip.plads.12}% &ei et &6Coinflip!"
- add {coinflip.plads.12.bet} to player's balance
- add {coinflip.plads.12.bet} to player's balance
- set {coinflip.status.12} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.12}%}
- delete {coinflip.plads.12}
- delete {vinder.coinflip.12}
- delete {coinflip.ingame.%{coinflip.plads.12}%}
- close player's inventory
- stop
- if {vinder.coinflip.12} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.12}% &ehar lige vundet &8(&6$%{coinflip.plads.12.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.12.bet} to {coinflip.plads.12}'s balance
- add {coinflip.plads.12.bet} to {coinflip.plads.12}'s balance
- set {coinflip.status.12} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.12}%}
- delete {coinflip.plads.12}
- delete {vinder.coinflip.12}
- delete {coinflip.ingame.%{coinflip.plads.12}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- if arg-1 is "13":
- if {coinflip.plads.13} is not command sender:
- if {coinflip.plads.13} is set:
- if {coinflip.plads.13} is set:
- if player's balance is more than or equal to {coinflip.plads.13.bet}:
- set {coinflip.status.13} to "&aIGANG"
- remove {coinflip.plads.13.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.13}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.13}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- set {vinder.coinflip.13} to a random integer between 1 and 2
- if {vinder.coinflip.13} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.13.bet}%&8) &eover &6%{coinflip.plads.13}% &ei et &6Coinflip!"
- add {coinflip.plads.13.bet} to player's balance
- add {coinflip.plads.13.bet} to player's balance
- set {coinflip.status.13} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.13}%}
- delete {coinflip.plads.13}
- delete {vinder.coinflip.13}
- delete {coinflip.ingame.%{coinflip.plads.13}%}
- close player's inventory
- stop
- if {vinder.coinflip.13} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.13}% &ehar lige vundet &8(&6$%{coinflip.plads.13.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.13.bet} to {coinflip.plads.13}'s balance
- add {coinflip.plads.13.bet} to {coinflip.plads.13}'s balance
- set {coinflip.status.13} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.13}%}
- delete {coinflip.plads.13}
- delete {vinder.coinflip.13}
- delete {coinflip.ingame.%{coinflip.plads.13}%}
- close player's inventory
- stop
- if arg-1 is "14":
- if {coinflip.plads.14} is not command sender:
- if {coinflip.plads.14} is set:
- if {coinflip.plads.14} is set:
- if player's balance is more than or equal to {coinflip.plads.14.bet}:
- set {coinflip.status.14} to "&aIGANG"
- remove {coinflip.plads.14.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.14}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.14}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- set {vinder.coinflip.14} to a random integer between 1 and 2
- if {vinder.coinflip.14} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.14.bet}%&8) &eover &6%{coinflip.plads.14}% &ei et &6Coinflip!"
- add {coinflip.plads.14.bet} to player's balance
- add {coinflip.plads.14.bet} to player's balance
- set {coinflip.status.14} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.14}%}
- delete {coinflip.plads.14}
- delete {vinder.coinflip.14}
- delete {coinflip.ingame.%{coinflip.plads.14}%}
- close player's inventory
- stop
- if {vinder.coinflip.14} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.14}% &ehar lige vundet &8(&6$%{coinflip.plads.14.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.14.bet} to {coinflip.plads.14}'s balance
- add {coinflip.plads.14.bet} to {coinflip.plads.14}'s balance
- set {coinflip.status.14} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.14}%}
- delete {coinflip.plads.14}
- delete {vinder.coinflip.14}
- delete {coinflip.ingame.%{coinflip.plads.14}%}
- close player's inventory
- stop
- if arg-1 is "15":
- if {coinflip.plads.15} is not command sender:
- if {coinflip.plads.15} is set:
- if {coinflip.plads.15} is set:
- if player's balance is more than or equal to {coinflip.plads.15.bet}:
- set {coinflip.status.15} to "&aIGANG"
- remove {coinflip.plads.15.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.15}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.15}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- set {vinder.coinflip.15} to a random integer between 1 and 2
- if {vinder.coinflip.15} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.15.bet}%&8) &eover &6%{coinflip.plads.15}% &ei et &6Coinflip!"
- add {coinflip.plads.15.bet} to player's balance
- add {coinflip.plads.15.bet} to player's balance
- set {coinflip.status.15} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.15}%}
- delete {coinflip.plads.15}
- delete {vinder.coinflip.15}
- delete {coinflip.ingame.%{coinflip.plads.15}%}
- close player's inventory
- stop
- if {vinder.coinflip.15} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.15}% &ehar lige vundet &8(&6$%{coinflip.plads.15.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.15.bet} to {coinflip.plads.15}'s balance
- add {coinflip.plads.15.bet} to {coinflip.plads.15}'s balance
- set {coinflip.status.15} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.15}%}
- delete {coinflip.plads.15}
- delete {vinder.coinflip.15}
- delete {coinflip.ingame.%{coinflip.plads.15}%}
- close player's inventory
- stop
- if arg-1 is "16":
- if {coinflip.plads.16} is not command sender:
- if {coinflip.plads.16} is set:
- if {coinflip.plads.16} is set:
- if player's balance is more than or equal to {coinflip.plads.16.bet}:
- set {coinflip.status.16} to "&aIGANG"
- remove {coinflip.plads.16.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.16}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.16}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- set {vinder.coinflip.16} to a random integer between 1 and 2
- if {vinder.coinflip.16} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.16.bet}%&8) &eover &6%{coinflip.plads.16}% &ei et &6Coinflip!"
- add {coinflip.plads.16.bet} to player's balance
- add {coinflip.plads.16.bet} to player's balance
- set {coinflip.status.16} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.16}%}
- delete {coinflip.plads.16}
- delete {vinder.coinflip.16}
- delete {coinflip.ingame.%{coinflip.plads.16}%}
- close player's inventory
- stop
- if {vinder.coinflip.16} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.16}% &ehar lige vundet &8(&6$%{coinflip.plads.16.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.16.bet} to {coinflip.plads.16}'s balance
- add {coinflip.plads.16.bet} to {coinflip.plads.16}'s balance
- set {coinflip.status.16} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.16}%}
- delete {coinflip.plads.16}
- delete {vinder.coinflip.16}
- delete {coinflip.ingame.%{coinflip.plads.16}%}
- close player's inventory
- stop
- if arg-1 is "17":
- if {coinflip.plads.17} is not command sender:
- if {coinflip.plads.17} is set:
- if {coinflip.plads.17} is set:
- if player's balance is more than or equal to {coinflip.plads.17.bet}:
- set {coinflip.status.17} to "&aIGANG"
- remove {coinflip.plads.17.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.17}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.17}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- set {vinder.coinflip.17} to a random integer between 1 and 2
- if {vinder.coinflip.17} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.17.bet}%&8) &eover &6%{coinflip.plads.17}% &ei et &6Coinflip!"
- add {coinflip.plads.17.bet} to player's balance
- add {coinflip.plads.17.bet} to player's balance
- set {coinflip.status.17} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.17}%}
- delete {coinflip.plads.17}
- delete {vinder.coinflip.17}
- delete {coinflip.ingame.%{coinflip.plads.17}%}
- close player's inventory
- stop
- if {vinder.coinflip.17} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.17}% &ehar lige vundet &8(&6$%{coinflip.plads.17.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.17.bet} to {coinflip.plads.17}'s balance
- add {coinflip.plads.17.bet} to {coinflip.plads.17}'s balance
- set {coinflip.status.17} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.17}%}
- delete {coinflip.plads.17}
- delete {vinder.coinflip.17}
- delete {coinflip.ingame.%{coinflip.plads.17}%}
- close player's inventory
- stop
- if arg-1 is "18":
- if {coinflip.plads.18} is not command sender:
- if {coinflip.plads.18} is set:
- if {coinflip.plads.18} is set:
- if player's balance is more than or equal to {coinflip.plads.18.bet}:
- set {coinflip.status.18} to "&aIGANG"
- remove {coinflip.plads.18.bet} from player's balance
- message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.18}%"
- send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.18}
- wait 2 ticks
- open chest with 1 rows named "&6&lCOINFLIP" to player
- wait 0.05 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- set {vinder.coinflip.18} to a random integer between 1 and 2
- if {vinder.coinflip.18} is 1:
- wait 0.20 seconds
- format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.18.bet}%&8) &eover &6%{coinflip.plads.18}% &ei et &6Coinflip!"
- add {coinflip.plads.18.bet} to player's balance
- add {coinflip.plads.18.bet} to player's balance
- set {coinflip.status.18} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.18}%}
- delete {coinflip.plads.18}
- delete {vinder.coinflip.18}
- close player's inventory
- delete {coinflip.ingame.%{coinflip.plads.18}%}
- stop
- if {vinder.coinflip.18} is 2:
- wait 0.20 seconds
- format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
- wait 2 ticks
- broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.18}% &ehar lige vundet &8(&6$%{coinflip.plads.18.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
- add {coinflip.plads.18.bet} to {coinflip.plads.18}'s balance
- add {coinflip.plads.18.bet} to {coinflip.plads.18}'s balance
- set {coinflip.status.18} to "&cFÆRDIG"
- delete {coinflip.ingame.%{coinflip.plads.18}%}
- delete {coinflip.plads.18}
- delete {vinder.coinflip.18}
- delete {coinflip.ingame.%{coinflip.plads.18}%}
- close player's inventory
- stop
- Else:
- send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
- Else:
- send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
- Command /resetcoinflip:
- permission: *
- trigger:
- loop all players:
- set {coinflip.ingame.%loop-player%} to 1
- Command /resetcoinflipplayer [<offline player>]:
- permission: *
- trigger:
- set {coinflip.ingame.%%} to 1
- #every minute:
- #loop all players:
- #set {coinflip.ingame.%loop-player%} to 1
- Command /opdatercoinflip:
- trigger:
- send "&6&lCOINFLIP &8» &eDu har opdateret siden!"
Advertisement
Add Comment
Please, Sign In to add comment