Advertisement
Blue_Tec

Untitled

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