Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function countdown(minute: 15, second: 0):
- while {_minute} is not 0:
- if {_second} is 0:
- remove 1 from {_minute}
- set {_second} to 60
- remove 1 from {_second}
- loop all players:
- set action bar of loop-player to "⦅&5&l残り時間&a&l: &e%{_minute}%&7分&e%{_second}%&7秒⦆"
- wait 1 second
- if {_minute} is 0:
- while {_second} is not 0:
- remove 1 from {_second}
- loop all players:
- set action bar of loop-player to "⦅&5&l残り時間&a&l: &e%{_second}%&7秒⦆"
- wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement