Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- command "/scoreboard teams leave [game] %victim%"
- command "/clear %victim%"
- set player's gamemode to spectator
- if {player} is 0:
- broadcast "&2&l人狼の勝ち!!"
- command "/check"
- command "/tp @a[team=!ht] 255 4 -2064"
- set player's gamemode to adventure
- set {player} to 0
- delete {MURABITO::*}
- delete {JINROU::*}
- delete {KYOUHAN::*}
- stop
- if victim is {JINROU::*}:
- command "/tp @a[team=!ht] 255 4 -2064"
- broadcast "&2&l市民の勝ち!!"
- command "/check"
- command "/tp @a[team=!ht] 255 4 -2064"
- set player's gamemode to adventure
- set {player} to 0
- delete {MURABITO::*}
- delete {JINROU}
- delete {KYOUHAN}
- stop
- command /jinrou:
- permission:admin
- permission message:&4&l運営じゃないのにスタートできるわけないでしょ!
- trigger:
- command "/scoreboard teams join [game] @a[team=!ht]"
- loop all players:
- add 1 to {player}
- remove {houti} + 1 from {player}
- broadcast "&4&l役職振り分け中..."
- add all players to {MURABITO::*}
- set {JINROU::*} to random player out of {MURABITO::*}
- remove {JINROU::*} from {MURABITO::*}
- set {KYOUHAN::*} to random player out of {MURABITO::*}
- remove {KYOUHAN::*} from {MURABITO::*}
- wait 5 seconds
- broadcast "&3&l振り分けが完了しました"
- wait 3 seconds
- broadcast "&3&l開始します..."
- wait 3 seconds
- command "/tp @a[type=!ht] 11 4 -1946"
- broadcast "&6&l5"
- wait 2 seconds
- broadcast "&5&l4"
- wait 2 seconds
- broadcast "&4&l3"
- wait 2 seconds
- broadcast "&3&l2"
- wait 2 seconds
- broadcast "&2&l1"
- wait 2 seconds
- broadcast "&1&lStart"
- command "/give @a[team=!ht] minecraft:stick"
- command "/give @a[team=!ht] minecraft:cooked_beef"
- while true:
- command "/setblock 4 4 4 minecraft:redstone_block"
- wait 1 tick
- command "/setblock 4 4 4 minecraft:stone"
- command "/time set 15000"
- wait 120 seconds
- command "/setblock 6 4 6 minecraft:redstone_block"
- wait 1 tick
- command "/setblock 6 4 6 minecraft:redstone_block"
- command "/time set 6000"
- wait 120 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement