Advertisement
Blue_Tec

Untitled

Mar 6th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 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. execute console command "pex user %arg-2% add rank.yt"
  51. send "&aYou are now &6&lYouTube&a!" to arg-2
  52. set {rank.vip.%arg-2%} to false
  53. set {rank.builder.%arg-2%} to false
  54. set {rank.yt.%arg-2%} to true
  55. set {rank.admin.%arg-2%} to false
  56. if arg-2 is not set:
  57. execute console command "nte player %player% prefix &c[YouTube]&f"
  58. execute console command "pex user %player% add setrank.admin"
  59. execute console command "pex user %player% add rank.yt"
  60. set {rank.yt.%player%} to true
  61. set {rank.vip.%player%} to false
  62. set {rank.builder.%player%} to false
  63. set {rank.admin.%player%} to false
  64. if arg-1 is "builder":
  65. if arg-2 is set:
  66. player is an op
  67. execute console command "nte player %arg-2% prefix &3[Builder]&f"
  68. send "&aYou are now &3Builder&a!" to arg-2
  69. set {rank.builder.%arg-2%} to true
  70. set {rank.vip.%arg-2%} to false
  71. set {rank.yt.%arg-2%} to false
  72. set {rank.admin.%arg-2%} to false
  73. if arg-2 is not set:
  74. player is an op
  75. execute console command "nte player %player% prefix &3[Builder]&f"
  76. set {rank.builder.%player%} to true
  77. set {rank.yt.%player%} to false
  78. set {rank.vip.%player%} to false
  79. set {rank.admin.%player%} to false
  80. if arg-1 is "admin":
  81. if arg-2 is set:
  82. player is an op
  83. execute console command "nte player %arg-2% prefix &c[Admin]&f"
  84. send "&aYou are now &cAdmin&a!" to arg-2
  85. set {rank.builder.%arg-2%} to false
  86. set {rank.admin.%arg-2%} to true
  87. set {rank.vip.%arg-2%} to false
  88. set {rank.yt.%arg-2%} to false
  89. if arg-2 is not set:
  90. player is an op
  91. execute console command "nte player %player% prefix &c[Admin]&f"
  92. set {rank.admin.%player%} to true
  93. set {rank.yt.%player%} to false
  94. set {rank.builder.%player%} to false
  95. set {rank.vip.%player%} to false
  96. if arg-1 is "vip":
  97. if arg-2 is set:
  98. player is an op
  99. execute console command "nte player %arg-2% prefix &a[VIP]&f"
  100. send "&aYou are now &a&lVIP&a!" to arg-2
  101. set {rank.builder.%arg-2%} to false
  102. set {rank.admin.%arg-2%} to false
  103. set {rank.vip.%arg-2%} to true
  104. set {rank.yt.%arg-2%} to false
  105. if arg-2 is not set:
  106. execute console command "nte player %player% prefix &a[VIP]&f"
  107. set {rank.vip.%player%} to true
  108. set {rank.builder.%player%} to false
  109. set {rank.admin.%player%} to false
  110. set {rank.yt.%player%} to false
  111. if arg-1 is "remove":
  112. if arg-2 is set:
  113. player is an op
  114. execute console command "nte player %arg-2% prefix ''"
  115. send "&cYou removed rank from &7%player%&a!" to arg-2
  116. set {rank.yt.%arg-2%} to false
  117. set {rank.vip.%arg-2%} to false
  118. set {rank.builder.%arg-2%} to false
  119. set {rank.admin.%arg-2%} to false
  120. if arg-2 is not set:
  121. execute console command "nte player %player% prefix ''"
  122. set {rank.yt.%player%} to false
  123. set {rank.builder.%player%} to false
  124. set {rank.vip.%player%} to false
  125. set {rank.admin.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement