upoupo0201

Untitled

Nov 3rd, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. on join:
  2. wipe %player%'s sidebar
  3. while player is online:
  4. if {game} is true:
  5. set name of sidebar of %player% to "情報"
  6. if {time} >= 180:
  7. if {kill::%player%} is true:
  8. set id score "&a残り時間:%{time}%秒" in sidebar of %player% to -1 with id "%player%-1"
  9. set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
  10. subtract 1 from {time}
  11. update score id "%player%-1" to "&a残り時間:%{time}%" and -1
  12. wait a second
  13. else:
  14. set id score "&a残り時間:???秒" in sidebar of %player% to -1 with id "%player%-1"
  15. set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
  16. subtract 1 from {time}
  17. update score id "%player%-1" to "&a残り時間:%{time}%" and -1
  18. wait a second
  19. else:
  20. set id score "&e残り時間:%{time}%秒" in sidebar of %player% to -1 with id "%player%-1"
  21. set id score "&6能力:%{job::%player%}%" in sidebar of %player% to -2 with id "%player%-2"
  22. subtract 1 from {time}
  23. update score id "%player%-1" to "&a残り時間:%{time}%" and -1
  24. wait a second
  25. else:
  26. exit loop
  27. wipe player's sidebar
  28.  
  29. if {time} = 180:
  30. broadcast "&c残り180秒になりました"
  31. broadcast "[生き残りの能力]/[未殺人者の所持カード]を公開します"
  32. loop all players:
  33. if {kill::%loop-player%} is false:
  34. broadcast "&6%[{card::%loop-player%}%カード]→[%loop-player%]"
Advertisement
Add Comment
Please, Sign In to add comment