Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- wipe %player%'s sidebar
- while player is online:
- if {game} is true:
- set name of sidebar of %player% to "情報"
- if {time} >= 180:
- if {kill::%player%} is true:
- set id score "&a残り時間:%{time}%秒" in sidebar of %player% to -1 with id "%player%-1"
- set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
- subtract 1 from {time}
- update score id "%player%-1" to "&a残り時間:%{time}%" and -1
- wait a second
- else:
- set id score "&a残り時間:???秒" in sidebar of %player% to -1 with id "%player%-1"
- set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
- subtract 1 from {time}
- update score id "%player%-1" to "&a残り時間:%{time}%" and -1
- wait a second
- else:
- set id score "&e残り時間:%{time}%秒" in sidebar of %player% to -1 with id "%player%-1"
- set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
- subtract 1 from {time}
- update score id "%player%-1" to "&a残り時間:%{time}%" and -1
- wait a second
- else:
- exit loop
- wipe player's sidebar
- if {time} = 180:
- broadcast "&c残り180秒になりました"
- broadcast "[生き残りの能力]/[未殺人者の所持カード]を公開します"
- loop all players:
- if {kill::%loop-player%} is false:
- broadcast "&6%[{card::%loop-player%}%カード]→[%loop-player%]"
Advertisement
Add Comment
Please, Sign In to add comment