Advertisement
fleft17

Untitled

Jul 31st, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.18 KB | None | 0 0
  1. options:
  2.  
  3. P: &8[&bFavonius&8]&r
  4.  
  5.  
  6. command /megabutcher <integer>:
  7. permission: skript.op
  8. trigger:
  9. loop arg times:
  10. execute console command "/butcher"
  11. wait 1 second
  12.  
  13. command /uhc [<text>] [<integer>] [<integer>]:
  14. permission: skript.uhcbasic
  15. usage: /uhcstart
  16. trigger:
  17.  
  18. if arg-1 is "yes":
  19. if {uhc.se} is true:
  20. set {uhc.%{uhc.v}%} to true
  21. message "{@P} &aConfirmed&r UHC %{uhc.v}%."
  22. else:
  23. message "{@P} &aConfirm&r/&cend&r UHC!"
  24.  
  25. if arg-1 is "no":
  26. if {uhc.se} is true:
  27. delete {uhc.%{uhc.v}%}
  28. broadcast "{@P} &cDenied&r UHC %{uhc.v}%!"
  29. command sender command "/sall random.break"
  30. stop trigger
  31. else:
  32. message "{@P} &aConfirm&r/&cend&r UHC!"
  33.  
  34. if arg-1 is "start":
  35. set {uhc.se} to true
  36. set {uhc.%arg-1%} to false
  37. set {uhc.v} to "start"
  38. message "{@P} Confirm UHC start:"
  39. message "{@P} /uhc &ayes"
  40. message "{@P} /uhc &cno"
  41.  
  42.  
  43.  
  44. set {_c} to 5
  45. loop {_c} times:
  46. if {uhc.%{uhc.v}%} is false:
  47. message "{@P} %{_c}%"
  48. subtract 1 from {_c}
  49. wait 1 second
  50.  
  51. if {uhc.%arg-1%} is true:
  52. set {uhc.%arg-1%} to true
  53. delete {uhc.se}
  54. delete {uhc.%{uhc.v}%}
  55. command sender command "/muteall"
  56. command sender command "/cMotd Game in progress!"
  57. set {uhcGame} to true
  58. set {dolphins} to false
  59. if arg-2 is not set:
  60. set {timeTilMeetup} to 90
  61. if arg-3 is not set:
  62. set {timeTilPvP} to 20
  63. if arg-2 is set:
  64. set {timeTilMeetup} to arg-2
  65. if arg-3 is set:
  66. set {timeTilPvP} to arg-3
  67. loop all players:
  68. execute console command "/vanflag %loop-player% -see"
  69. set the player's gamemode to survival
  70. execute console command "/pvptoggle world off"
  71. execute console command "/pvptoggle world_nether on"
  72. command sender command "/heal *"
  73. command sender command "/feed *"
  74. command sender command "/ci *"
  75. command sender command "/killboard on"
  76. execute console command "/chatclear"
  77. set {_time} to 5
  78. set {_sound} to 1.9
  79. set {_colors::*} to "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e"
  80. wait 2 seconds
  81. command sender command "/freeze"
  82. broadcast "{@P} UHC is starting in:"
  83. loop 5 times:
  84. set {_color} to a random element out of {_colors::*}
  85. remove {_color} from {_colors::*}
  86. broadcast "{@P} %{_color}%&l%{_time}%…"
  87. if {_time} is greater than or equal to 1:
  88. subtract 1 from {_time}
  89. if {_sound} is greater than or equal to 1.0:
  90. subtract 0.1 from {_sound}
  91. command sender command "/sall mob.enderdragon.hit"
  92. wait 1 second
  93.  
  94. delete {_time}
  95. delete {_sound}
  96. delete {_colors::*}
  97.  
  98. loop 100 times:
  99. execute console command "/sall note.bass 2"
  100. wait 0.01 seconds
  101.  
  102. loop 3 times:
  103. broadcast "{@P}&l GO!"
  104. wait 0.25 seconds
  105. loop all players:
  106. set {_p} to loop-player
  107. apply saturation 1 to {_p} for 5 minutes
  108.  
  109.  
  110. set time to 6:00
  111. command sender command "/effc"
  112. command sender command "/timer-start %{timeTilMeetup}% %{timeTilPvP}%"
  113. command sender command "/firstdamage reset"
  114. loop 100 times:
  115. execute console command "/butcher"
  116. wait 0.1 seconds
  117. broadcast "{@P} Finished butchering!"
  118. wait 5 seconds
  119. command sender command "/heal *"
  120. command sender command "/feed *"
  121. broadcast "{@P} You have been given your final heal&7!"
  122. wait 3 seconds
  123. command sender command "/boxremove world"
  124. command sender command "/muteall"
  125.  
  126. if {uhc.%{uhc.v}%} is false:
  127. broadcast "{@P} &9UHC not started in time!"
  128. command sender command "/sall random.break"
  129. broadcast "{@P} &9%command sender%, re-do command!"
  130. delete {uhc.se}
  131. stop trigger
  132.  
  133.  
  134. if arg-1 is "end":
  135. set {uhc.se} to true
  136. set {uhc.%arg-1%} to false
  137. set {uhc.v} to "end"
  138. message "{@P} Confirm UHC end:"
  139. message "{@P} /uhc &ayes"
  140. message "{@P} /uhc &cno"
  141.  
  142. set {_c} to 5
  143. loop {_c} times:
  144. if {uhc.%{uhc.v}%} is false:
  145. message "{@P} %{_c}%"
  146. subtract 1 from {_c}
  147. wait 1 second
  148.  
  149. if {uhc.%{uhc.v}%} is true:
  150. delete {uhc.se}
  151. set {uhc.%arg-1%} to true
  152. loop all players:
  153. teleport loop-player to spawn point of "FleftSpawn"
  154. execute console command "/xp -1000L %loop-player%"
  155. clear the loop-player's inventory
  156. make loop-player execute command "/endspec"
  157. wait 1 second
  158. set {uhcGame} to false
  159. command sender command "/hd setline spawn 2 &aWelcome!"
  160. command sender command "/timer-stop"
  161. command sender command "/pvptoggle on"
  162. command sender command "/wl off"
  163. execute console command "/wl clear"
  164. command sender command "/matchpost none"
  165. command sender command "/nextgame"
  166. command sender command "/feature off DeathLightning"
  167. command sender command "/feature on PotionNerfs"
  168. command sender command "/feature off PlayerHeads"
  169. command sender command "/pvparena on"
  170. command sender command "/1v1arena on"
  171. command sender command "/parkour on"
  172. command sender command "/wl death off"
  173. command sender command "/questions off"
  174. command sender command "/effc"
  175. command sender command "/heal *"
  176. command sender command "/feed *"
  177. command sender command "/killboard off"
  178. command sender command "/cmotd Open PvP!"
  179. command sender command "/chatclear"
  180. broadcast "{@P} UHC is over!"
  181.  
  182. if {uhc.%{uhc.v}%} is false:
  183. broadcast "{@P} &9UHC not %{uhc.v}%ed in time!"
  184. command sender command "/sall random.break"
  185. broadcast "{@P} &9%command sender%, re-do command!"
  186. delete {uhc.se}
  187. stop trigger
  188.  
  189.  
  190.  
  191.  
  192. command /dubstep <text> <text>:
  193. permission: skript.op
  194. trigger:
  195. set {musicTest} to 0.5
  196. wait 0.1 second
  197. if arg-2 is "up":
  198. set {musicTest} to 0.5
  199. wait 0.1 second
  200. loop 30 times:
  201. set {musicTest} to {musicTest} + 0.05
  202. execute console command "/sall %arg-1% %{musicTest}%"
  203. wait 0.1 seconds
  204. if arg-2 is "down":
  205. set {musicTest} to 2
  206. wait 0.1 second
  207. loop 30 times:
  208. set {musicTest} to {musicTest} - 0.05
  209. execute console command "/sall %arg-1% %{musicTest}%"
  210. wait 0.1 seconds
  211.  
  212.  
  213. command /uhcTest:
  214. trigger:
  215. set {_time} to 10
  216. set {_sound} to 1.9
  217. set {_colors::*} to "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e"
  218. broadcast "{@P} &aUHC is starting in:"
  219. loop 10 times:
  220. set {_color} to a random element out of {_colors::*}
  221. remove {_color} from {_colors::*}
  222. broadcast "{@P} %{_color}%&l%{_time}%…"
  223. if {_time} is equal to 7:
  224. command sender command "/freeze"
  225. if {_time} is greater than or equal to 1:
  226. subtract 1 from {_time}
  227. if {_sound} is greater than or equal to 1.0:
  228. subtract 0.1 from {_sound}
  229. command sender command "/sall random.successful_hit %{_sound}%"
  230. wait 1 second
  231.  
  232. delete {_time}
  233. delete {_sound}
  234. delete {_colors::*}
  235.  
  236. loop 100 times:
  237. execute console command "/sall note.bass 2"
  238. wait 0.01 seconds
  239.  
  240. loop 3 times:
  241. broadcast "{@P}&l GO!"
  242. wait 0.5 seconds
  243.  
  244.  
  245. command /uhcAPS:
  246. permission: skript.op
  247. trigger:
  248. loop all players:
  249. execute console command "/playsound note.pling %loop-player% ~ ~ ~ 1 %a random number between 0.5 and 2% 1"
  250.  
  251.  
  252.  
  253. command /killboard <text>:
  254. permission: skript.op
  255. trigger:
  256. if arg is "on":
  257. if {killboard} is true:
  258. message "{@P} Killboard already enabled!"
  259. stop trigger
  260. set {killboard} to true
  261. broadcast "{@P} Killboard enabled!"
  262. execute console command "/scoreboard objectives add &7>&9Kills&7< playerKillCount"
  263. execute console command "/scoreboard objectives setdisplay sidebar &7>&9Kills&7<"
  264.  
  265. if arg is "off":
  266. if {killboard} is false:
  267. message "{@P} Killboard already disabled!"
  268. stop trigger
  269. set {killboard} to false
  270. broadcast "{@P} Killboard disabled!"
  271. execute console command "/scoreboard objectives remove &7>&9Kills&7<"
  272. execute console command "/scoreboard players reset &a&oPvE"
  273.  
  274. on death of player:
  275. {killboard} is true:
  276. attacker is player:
  277. stop trigger
  278. else:
  279. execute console command "/scoreboard players add &a&oPvE &7>&9Kills&7< 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement