Advertisement
Redstoneworld

ScoreBoard

Feb 14th, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ScoreBoard(p: player):
  2.     wipe {_p}'s sidebar
  3.     set name of sidebar of {_p} to "&a&l>>&9 ImproWars &a&l<<"
  4.     set score "&f  " in sidebar of {_p} to 50
  5.     set score "&7&l>> &ePseudo: &7%{_p}%" in sidebar of {_p} to 10
  6.     set score "&f   " in sidebar of {_p} to 9
  7.     set score "&7&l>> &eGrade: &7&oEn dev" in sidebar of {_p} to 7
  8.     set score "&f    " in sidebar of {_p} to 6
  9.     set score "&7&l>> &ePing: &a%{_p}'s ping%" in sidebar of {_p} to 5
  10.     set score "&f " in sidebar of {_p} to 4
  11.     set score "&7&l>> &eOnline: &6%number of all players%&7/15" in sidebar of {_p} to 3
  12.     set score " " in sidebar of {_p} to 2
  13.     set score "&e----------------" in sidebar of {_p} to 1
  14.     set score "&bwww.monsite.fr" in sidebar of {_p} to 0
  15. on join:
  16.    loop all players:
  17.        ScoreBoard(loop-player)
  18. on quit:
  19.    loop all players:
  20.        ScoreBoard(loop-player)
  21. every 2 seconds:
  22.     loop all players:
  23.         ScoreBoard(loop-player)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement