Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /_startcountdown:
- trigger:
- set {BowDuell.SpielerAllgeimein} to number of players in world "{@world}"
- if {BowDuell.SpielerAllgeimein} is bigger than 1:
- if {countdown} is true:
- set {countdown} to false
- wait 0.1 seconds
- set {Countdown.BW} to 61
- loop 61 times:
- if {state} is "lobby":
- if {CountdownStart} is true:
- set {BowDuell.SpielerAllgeimein} to number of players in world "{@world}"
- if {BowDuell.SpielerAllgeimein} is bigger than 1:
- wait 1 seconds
- remove 1 from {Countdown.BW}
- set action bar of all players in world "{@world}" to "&6&lCG &8┃ &eSpielstart in %{Countdown.BW}% Sekunden"
- if {Countdown.BW} is 60:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&oeiner &7&oMinute" in "{@world}"
- if {Countdown.BW} is 30:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 15:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 10:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 5:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 4:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 3:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 2:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&o%{Countdown.BW}% &7&oSekunden" in "{@world}"
- if {Countdown.BW} is 1:
- loop all players:
- play sound "NOTE_BASS " to loop-player with volume 100.0 and pitch 15
- broadcast "{@p}&7&oDie &oRunde &ostartet &oin &e&oeiner &7&oSekunde" in "{@world}"
- if {Countdown.BW} is 0:
- set {BowDuell.SpielerAllgeimein} to number of players in world "{@world}"
- if {BowDuell.SpielerAllgeimein} is bigger than 1:
- set {state} to "Ingame"
- broadcast "{@p}&e&oAlle &oSpieler &owerden &oTeleportiert .." in "{@world}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement