Guest User

ranked.sk

a guest
Oct 19th, 2017
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 KB | None | 0 0
  1. options:
  2. Prefix: &c&lSoul&f&lStars &7&l>>
  3. Maincolor: &3
  4. Secondcolor: &7
  5. Red: &c
  6. ranked1: CLEAR
  7.  
  8.  
  9. command /wonranked123 <text> [<player>] [<text>]:
  10. trigger:
  11. if arg 1 is "add":
  12. execute console command "/victorydnc %arg 2%"
  13. if arg 2 is in world "{@ranked1}":
  14. add 10 to {points.%arg 2%}
  15. message "{@Prefix} {@Maincolor}Your rating has been updated &a+10" to arg 2
  16. if arg 1 is "remove":
  17. add -10 to {points.%arg 2%}
  18. message "{@Prefix} {@Maincolor}Your rating has been updated &c-10" to arg 2
  19. if arg 1 is "reset":
  20. set {points.%arg 2%} to 0
  21. message "{@Prefix} {@Red}Your rating has been reset!"
  22. if arg 1 is "MapJustStarted":
  23. loop all players:
  24. if loop-players is in world "{@ranked1}":
  25. set {enderpearl.%loop-player%.lastused} to now
  26. if arg 1 is "set":
  27. set {points.%arg 2%} to arg 3
  28. message "{@Prefix} {@Red}Your rating has been set to %arg-3%!" to arg 2
  29.  
  30.  
  31. on rightclick holding a ender pearl:
  32. if player is in world "{@ranked1}":
  33. set {_waited} to difference between {enderpearl.%player%.lastused} and now
  34. if {_waited} is less than 10 seconds:
  35. message "{@Prefix} {@Red}You can't rush that fast!"
  36. cancel the event
  37.  
  38.  
  39. command /rating [<text=none>]:
  40. trigger:
  41. if arg 1 is "none":
  42. message "{@Prefix} {@Maincolor}Your rating is {@Red}%{points.%player%}%"
  43. else:
  44. message "{@Prefix} {@Maincolor}%arg 1%'s rating is {@Red}%{points.%arg 1%}%"
  45.  
  46. on join:
  47. if {points.%player%} is not set:
  48. set {points.%player%} to 0
  49.  
  50. on death:
  51. if victim is in world "{@ranked1}":
  52. execute console command "/wonranked123 remove %victim%"
  53.  
  54. command /victorydnc <player>:
  55. trigger:
  56. if {dragonrider.%arg 1%} is true:
  57. if {dragonrider.%arg 1%.enabled} is false:
  58. stop
  59. if {dragonrider.%arg 1%.enabled} is true:
  60. make arg-1 ride a ender dragon
  61. wait 10 seconds
  62. execute console command "/killall enderdragon %arg-1's world%"
  63. if {horse.%arg 1%} is true:
  64. if {horse.%arg 1%.enabled} is false:
  65. stop
  66. if {horse.%arg 1%.enabled} is true:
  67. make arg-1 ride a undead horse
  68. wait 10 seconds
  69. execute console command "/killall enderdragon %arg-1's world%"
  70.  
  71.  
  72. command /ranked [<text>]:
  73. trigger:
  74. if arg 1 is "shop":
  75. wait 3 ticks
  76. open chest with 3 row named "&3&lRanked&b&lShop" to player
  77. format slot 10 of player with 1 book named "&cSkywars Coins" with lore "{@Secondcolor}Beli coins skywars disini!" to close then run [make player execute command "/coinshop6667"]
  78. format slot 12 of player with 1 book named "&cVictory Dances" with lore "{@Secondcolor}Beli victory dance disini!" to close then run [make player execute command "/vdance6667"]
  79. format slot 14 of player with 1 book named "&cComing Soon!" with lore "" to close then run [make player execute command "/__team__"]
  80. format slot 16 of player with 1 book named "&cComing Soon!" with lore "" to close then run [make player execute command "/__others__"]
  81. format slot 18 of player with 1 nether star named "&cClose" with lore "" to close
  82. format slot 22 of player with 1 emerald named "&6Player Info" with lore "&7Points: &6%{points.%player%}%" to be unstealable
  83.  
  84. command /coinshop6667:
  85. trigger:
  86. wait 3 ticks
  87. open chest with 3 row named "&e&lCoins&b&lShop" to player
  88. if {points.%player%} is greater than 999:
  89. format slot 10 of player with 1 gold ingot named "&e10K Coins" with lore "&7Price: 1000 Points!" to close then run [make console execute command "/sw coins add %player% 10000"]
  90. else:
  91. format slot 10 of player with 1 coal block named "&c10K Coins" with lore "&7Price: 1000 Points!" to be unstealable
  92. format slot 18 of player with 1 nether star named "&cClose" with lore "" to close
  93. format slot 22 of player with 1 emerald named "&6Player Info" with lore "&7Points: &6%{points.%player%}%" to be unstealable
  94. format slot 26 of player with 1 arrow named "&cBack" with lore "" to close then run [make player execute command "/ranked shop"]
  95.  
  96. command /vdance6667:
  97. trigger:
  98. wait 3 ticks
  99. open chest with 3 row named "&e&lVictory&b&lDance" to player
  100. if {points.%player%} is greater than 2499:
  101. format slot 12 of player with 1 dragon egg named "&bDragon Rider!" with lore "&7Price: 2500 Points!" to close then run [make console execute command "/vicdance6667 buy DRider %player%"]
  102. else:
  103. format slot 12 of player with 1 dragon egg named "&cDragon Rider!" with lore "&7Price: 2500 Points!" to be unstealable
  104. if {dragonrider.%player%} is true:
  105. if {dragonrider.%player%.enabled} is false:
  106. format slot 12 of player with 1 dragon egg named "&bDragon Rider!" with lore "&7Status: &cDisabled" to close then run [make console execute command "/vicdance6667 toggle DRider %player%"]
  107. else:
  108. format slot 12 of player with 1 dragon egg named "&bDragon Rider!" with lore "&7Status: &aEnabled" to close then run [make console execute command "/vicdance6667 toggle DRider %player%"]
  109.  
  110.  
  111. if {points.%player%} is greater than 1999:
  112. format slot 14 of player with 1 saddle named "&bHorse Rider!" with lore "&7Price: 2000 Points!" to close then run [make console execute command "/vicdance6667 buy UHorse %player%"]
  113. else:
  114. format slot 14 of player with 1 saddle named "&cHorse Rider!" with lore "&&7Price: 2000 Points!" to be unstealable
  115. if {horse.%player%} is true:
  116. if {horse.%player%.enabled} is false:
  117. format slot 14 of player with 1 saddle named "&cHorse Rider!" with lore "&7Status: &cDisabled" to close then run [make console execute command "/vicdance6667 toggle UHorse %player%"]
  118. else:
  119. format slot 14 of player with 1 saddle named "&bHorse Rider!" with lore "&7Status: &aEnabled" to close then run [make console execute command "/vicdance6667 toggle UHorse %player%"]
  120. format slot 18 of player with 1 nether star named "&cClose" with lore "" to close
  121. format slot 22 of player with 1 emerald named "&6Player Info" with lore "&7Points: &6%{points.%player%}%" to be unstealable
  122. format slot 26 of player with 1 arrow named "&cBack" with lore "" to close then run [make player execute command "/ranked shop"]
  123.  
  124. command /vicdance6667 <text> <text> <player>:
  125. trigger:
  126. if arg 1 is "toggle":
  127. if arg 2 is "DRider":
  128. if {dragonrider.%arg 3%.enabled} is true:
  129. set {dragonrider.%arg 3%.enabled} to false
  130. else:
  131. set {dragonrider.%arg 3%.enabled} to true
  132. set {horse.%arg 3%.enabled} to false
  133. execute arg 3 command "/vdance6667"
  134. if arg 2 is "UHorse":
  135. if {horse.%arg 3%.enabled} is true:
  136. set {horse.%arg 3%.enabled} to false
  137. else:
  138. set {horse.%arg 3%.enabled} to true
  139. set {dragonrider.%arg 3%.enabled} to false
  140. execute arg 3 command "/vdance6667"
  141. if arg 1 is "buy":
  142. if arg 2 is "DRider":
  143. set {dragonrider.%player%} to true
  144. add -2500 to {points.%arg 3%}
  145. execute arg 3 command "/vdance6667"
  146. if arg 2 is "UHorse":
  147. set {horse.%player%} to true
  148. add -2000 to {points.%arg 3%}
  149. execute arg 3 command "/vdance6667"
Advertisement
Add Comment
Please, Sign In to add comment