SHARE
TWEET

Loop Process

Gamebuster Sep 19th, 2015 (edited) 235 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. loop all players:
  2.     add loop-player to {_listPlayers::*} #adding all players to the list variable
  3. set {_timer} to 60 #Change this to how many seconds you need
  4. while {_timer} > 0: #This is a timer
  5.     message "<light blue>%{_timer}% seconds remaining" to {_listPlayers::*} #messaging time remaining to all players in the list variable, you can replace this with what you want
  6.     wait 1 second
  7.     subtract 1 from {_timer}
  8. #This will not trigger until the while loop finishes
  9. message "Game start" to {_listPlayers::*}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top