Advertisement
Guest User

Untitled

a guest
Aug 6th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. command /kb:
  2. permission: skript.op
  3. trigger:
  4. loop all players:
  5. wipe loop-player's sidebar
  6.  
  7. set name of sidebar of loop-player to "UHC"
  8. set score "&9" in sidebar of loop-player to 9
  9. set score "&6&lSTATS:" in sidebar of loop-player to 8
  10. set score "&eKills: &f%{kills::%loop-player%}%" in sidebar of loop-player to 7
  11. set score "&ePlayers: &f%{online.players}%" in sidebar of loop-player to 6
  12. set score "&f" in sidebar of loop-player to 5
  13. set score "&6&lGAME INFO:" in sidebar of loop-player to 4
  14. set score "&eHost: &f%{host}%" in sidebar of loop-player to 3
  15. set score "&e" in sidebar of loop-player to 2
  16. set score "&6Twitter &f: &e@_UHC" in sidebar of loop-player to 1
  17.  
  18.  
  19. on death:
  20. if attacker is a player:
  21. if victim is a player:
  22. add 1 to {kills::%attacker%}
  23.  
  24.  
  25.  
  26.  
  27. command /host <text>:
  28. permission: skript/op
  29. trigger:
  30. if arg-1 is not set:
  31. send "&f&lThe current host is {host}!" to command sender
  32. else:
  33. set {host} to arg-1
  34. broadcast "&a%arg-1% is now the host of the game!"
  35.  
  36.  
  37.  
  38.  
  39. every 5 seconds:
  40. set {online.players} to amount of players
  41. loop all players:
  42. wipe loop-player's sidebar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement