Advertisement
Blue_Tec

Untitled

Mar 6th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 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. if {rank.vip.%loop-player%} is true:
  17. set score "&aVip" in sidebar of loop-player to 9
  18. set score "&d" in sidebar of loop-player to 8
  19. set score "&a&lアスレクリア数&e&l:" in sidebar of loop-player to 7
  20. set score "&f%{ath.clear.%loop-player%}% 回" in sidebar of loop-player to 6
  21. set score "&e" in sidebar of loop-player to 5
  22. set score "&a&lオンライン&e:" in sidebar of loop-player to 4
  23. set score " &f%number of all players%&8&l/&f12" in sidebar of loop-player to 3
  24. set score " &f" in sidebar of loop-player to 2
  25. set score "&aweb.makiath.ml" in sidebar of loop-player to 1
  26.  
  27. command /resscore:
  28. permission: resc.admin
  29. trigger:
  30. set {scoreboard.ath} to true
  31.  
  32. command /athclear [<player>]:
  33. executable by: console
  34. trigger:
  35. add 1 to {ath.clear.%arg-1%}
  36.  
  37. command /setrank <text> [<player>]:
  38. trigger:
  39. if arg-1 is not set:
  40. message "&b/setrank <RANK> <PLAYER>"
  41. if arg-1 is set:
  42. if arg-1 is "yt":
  43. if arg-2 is set:
  44. execute console command "nte player %arg-2% prefix &c[YouTube]&f"
  45. send "&aYou are now &6&lYouTube&a!" to arg-2
  46. set {rank.vip.%arg-2%} to false
  47. set {rank.yt.%arg-2%} to true
  48. set {rank.admin.%arg-2%} to false
  49. if arg-2 is not set:
  50. execute console command "nte player %player% prefix &c[YouTube]&f"
  51. set {rank.yt.%player%} to true
  52. set {rank.vip.%player%} to false
  53. set {rank.admin.%player%} to false
  54. if arg-1 is "admin":
  55. if arg-2 is set:
  56. execute console command "nte player %arg-2% prefix &c[Admin]&f"
  57. send "&aYou are now &cAdmin&a!" to arg-2
  58. set {rank.admin.%arg-2%} to true
  59. set {rank.vip.%arg-2%} to false
  60. set {rank.yt.%arg-2%} to false
  61. if arg-2 is not set:
  62. execute console command "nte player %player% prefix &c[Admin]&f"
  63. set {rank.admin.%player%} to true
  64. set {rank.yt.%player%} to false
  65. set {rank.vip.%player%} to false
  66. if arg-1 is "vip":
  67. if arg-2 is set:
  68. execute console command "nte player %arg-2% prefix &a[VIP]&f"
  69. send "&aYou are now &a&lVIP&a!" to arg-2
  70. set {rank.admin.%arg-2%} to false
  71. set {rank.vip.%arg-2%} to true
  72. set {rank.yt.%arg-2%} to false
  73. if arg-2 is not set:
  74. execute console command "nte player %player% prefix &a[VIP]&f"
  75. set {rank.vip.%player%} to true
  76. set {rank.admin.%player%} to false
  77. set {rank.yt.%player%} to false
  78. if arg-1 is "remove":
  79. if arg-2 is set:
  80. execute console command "nte player %arg-2% prefix ''"
  81. send "&cYou removed rank from &7%player%&a!" to arg-2
  82. set {rank.yt.%arg-2%} to false
  83. set {rank.vip.%arg-2%} to false
  84. set {rank.admin.%arg-2%} to false
  85. if arg-2 is not set:
  86. execute console command "nte player %player% prefix ''"
  87. set {rank.yt.%player%} to false
  88. set {rank.vip.%player%} to false
  89. set {rank.admin.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement