Advertisement
Guest User

kevin the minion

a guest
Dec 8th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. on join:
  2. enable array tablist for player
  3. wait 1 second
  4. remove a column from player's array tablist
  5. remove a column from player's array tablist
  6. set name of array tab 1, 1 for player to "&aPLAYERS"
  7. set name of array tab 2, 1 for player to "&cSPECTATING"
  8. while player is online:
  9. loop all players:
  10. if {tk.ingame::%loop-player%} is true:
  11. if {tk.eliminated::%player%} is false:
  12. add loop-player to {_Players::*}
  13. else:
  14. add loop-player to {_Spectate::*}
  15. else:
  16. add loop-player to {_Spectate::*}
  17. loop {_Players::*}:
  18. add 1 to {_Num}
  19. set name of array tab 1, ({_Num} + 1) for player to "%loop-value-2%"
  20. if {_Num} is not set:
  21. set {_Num} to 0
  22. loop 20 times:
  23. if loop-number-2 > {_Num}:
  24. set name of array tab 1, (loop-number-2 + 1) for player to "&8..."
  25. set {_Num} to 0
  26. loop {_Spectate::*}:
  27. add 1 to {_Num}
  28. set name of array tab 2, ({_Num} + 1) for player to "%loop-value-2%"
  29. loop 20 times:
  30. if loop-number-2 > {_Num}:
  31. set name of array tab 2, loop-number-2 for player to "&8..."
  32. wait 2 seconds
  33. delete {_Num}
  34. delete {_Spectate::*}
  35. delete {_Players::*}
  36. on quit:
  37. disable array tablist for player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement