Advertisement
Blue_Tec

Untitled

Mar 6th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. # _________________________________________________
  2. # << < > >>
  3. # Thank you for downloading this skript -William1st
  4. # << <_________________________________________________> >>
  5.  
  6. every 2 ticks:
  7. loop all players:
  8. wipe loop-player's sidebar
  9. set name of sidebar of loop-player to "&b&lMaki-Athletic"
  10. set score "" in sidebar of loop-player to 11
  11. set score "&a&lランク:" in sidebar of loop-player to 10
  12. if {rank.yt.%loop-player%} is true:
  13. set score "&6&lYouTube" in sidebar of loop-player to 9
  14. if {rank.admin.%loop-player%} is true:
  15. set score "&cAdminstrator" in sidebar of loop-player to 9
  16. set score "&d" in sidebar of loop-player to 8
  17. set score "&a&lアスレクリア数&e&l:" in sidebar of loop-player to 7
  18. set score "&f%{ath.clear.%loop-player%}% 回" in sidebar of loop-player to 6
  19. set score "&e" in sidebar of loop-player to 5
  20. set score "&a&lオンライン&e:" in sidebar of loop-player to 4
  21. set score " &f%number of all players%&8&l/&f12" in sidebar of loop-player to 3
  22. set score " &f" in sidebar of loop-player to 2
  23. set score "&aweb.makiath.ml" in sidebar of loop-player to 1
  24. z
  25. command /resscore:
  26. permission: resc.admin
  27. trigger:
  28. set {scoreboard.ath} to true
  29.  
  30. command /athclear [<player>]:
  31. executable by: console
  32. trigger:
  33. add 1 to {ath.clear.%arg-1%}
  34.  
  35. command /setrank <text> [<player>]:
  36. trigger:
  37. if arg-1 is not set:
  38. message "&b/setrank <RANK> <PLAYER>"
  39. if arg-1 is set:
  40. if arg-1 is "yt":
  41. if arg-2 is set:
  42. execute console command "nte player %arg-2% prefix &c[YouTube]&f"
  43. send "&a&lYou are now &6&lYouTube&a!" to arg-2
  44. set {rank.yt.%arg-2%} to true
  45. set {rank.admin.%arg-2%} to false
  46. if arg-2 is not set:
  47. execute console command "nte player %player% prefix &c[YouTube]&f"
  48. set {rank.yt.%player%} to true
  49. set {rank.admin.%player%} to false
  50. if arg-1 is "admin":
  51. if arg-2 is set:
  52. execute console command "nte player %arg-2% prefix &c[Admin]&f"
  53. send "&a&lYou are now &cAdmin&a!" to arg-2
  54. set {rank.admin.%arg-2%} to true
  55. set {rank.yt.%arg-2%} to false
  56. if arg-2 is not set:
  57. execute console command "nte player %player% prefix &c[Admin]&f"
  58. set {rank.admin.%player%} to true
  59. set {rank.yt.%player%} to false
  60. if arg-1 is "remove":
  61. if arg-2 is set:
  62. execute console command "nte player %arg-2% prefix ''"
  63. send "&a&lYou removed rank from &7%player%&a!" to arg-2
  64. set {rank.yt.%arg-2%} to false
  65. set {rank.admin.%arg-2%} to false
  66. if arg-2 is not set:
  67. execute console command "nte player %player% prefix ''"
  68. set {rank.yt.%player%} to false
  69. set {rank.admin.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement