Advertisement
NANDEYANEN

Untitled

Sep 13th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. function countdown(minute: 15, second: 0):
  2. while {_minute} is not 0:
  3. if {_second} is 0:
  4. remove 1 from {_minute}
  5. set {_second} to 60
  6. remove 1 from {_second}
  7. loop all players:
  8. set action bar of loop-player to "⦅&5&l残り時間&a&l: &e%{_minute}%&7分&e%{_second}%&7秒⦆"
  9. wait 1 second
  10. if {_minute} is 0:
  11. while {_second} is not 0:
  12. remove 1 from {_second}
  13. loop all players:
  14. set action bar of loop-player to "⦅&5&l残り時間&a&l: &e%{_second}%&7秒⦆"
  15. wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement