Advertisement
fleft17

Untitled

Aug 2nd, 2014
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.11 KB | None | 0 0
  1. options:
  2.  
  3. P: &8[&bFavonius&8]&r
  4.  
  5.  
  6. command /saturation:
  7. permission: skript.op
  8. trigger:
  9. apply saturation 1 to all players for 5 minutes
  10.  
  11.  
  12.  
  13. on login:
  14. player is not in world "FleftSpawn":
  15. {uhcGame} is false:
  16. wait 0.1 seconds
  17. clear the player's inventory
  18. teleport the player to spawn point of "FleftSpawn"
  19. heal the player
  20. {1v1} is true:
  21. clear the player's inventory
  22. wait 0.1 seconds
  23. execute console command "/pvpcompass %player%"
  24. execute console command "/sall fireworks.twinkle 1 %player%"
  25. message "&7----------------------------------------"
  26. message "{@P} Welcome to Favonius!"
  27. message "{@P} Use &e/help&r for any questions!"
  28. message "&7----------------------------------------"
  29.  
  30.  
  31. command /uhc [<text>] [<text>] [<text>]:
  32. permission: skript.uhcbasic
  33. usage: /uhcstart
  34. trigger:
  35.  
  36. if arg-1 is "start":
  37.  
  38. command sender is player:
  39.  
  40.  
  41. set {uhcGame} to true
  42.  
  43. command sender command "/specinfo reset"
  44.  
  45. #Features
  46. if {UHC.FFA} is set:
  47. command sender command "/feature on DeathMessages"
  48. else:
  49. command sender command "/feature off DeathMessages"
  50.  
  51. if {UHC.Absorp} is set:
  52. command sender command "/feature off PotionNerfs"
  53. else:
  54. command sender command "/feature on PotionNerfs"
  55.  
  56. if {UHC.Heads} is set:
  57. command sender command "/feature on PlayerHeads"
  58. else:
  59. command sender command "/feature off PlayerHeads"
  60.  
  61. if {UHC.Lighting} is set:
  62. command sender command "/feature on DeathLightning"
  63. else:
  64. command sender command "/feature off DeathLightning"
  65.  
  66. #MOTD Muteall Heads
  67.  
  68. command sender command "/cMotd Game in progress!"
  69. command sender command "/feature on PlayerHeads"
  70. set {mute all} to true
  71.  
  72. #UHC / Dolphins
  73.  
  74. set {uhcGame} to true
  75. set {dolphins} to false
  76.  
  77.  
  78. #Timer
  79.  
  80.  
  81. if arg-2 is not set:
  82. set {_timeTilMeetup} to "90" parsed as integer
  83. if arg-3 is not set:
  84. set {_timeTilPvP} to "20" parsed as integer
  85. if arg-2 is set:
  86. set {_timeTilMeetup} to arg-2 parsed as integer
  87. if arg-3 is set:
  88. set {_timeTilPvP} to arg-3 parsed as integer
  89.  
  90. #Gamemode, reappear, xp
  91.  
  92.  
  93. loop all players:
  94. execute console command "/vanflag %loop-player% -see"
  95. set the player's gamemode to survival
  96. execute console command "/xp -500L %loop-player%"
  97.  
  98.  
  99. #PVP Toggle
  100.  
  101. execute console command "/pvptoggle world off"
  102. execute console command "/pvptoggle world_nether on"
  103. execute console command "/pvptoggle world_the_end on"
  104.  
  105.  
  106. #Butcher
  107.  
  108. command sender command "/megabutcher 30 seconds"
  109.  
  110.  
  111. #Heal/feed/clear
  112.  
  113. loop all players:
  114. set loop-player's hunger to 20
  115. heal loop-player
  116. clear the loop-player's inventory
  117.  
  118.  
  119. command sender command "/killboard on"
  120.  
  121. #Countdown
  122.  
  123. set {_time} to 5
  124. set {_sound} to 1.9
  125. 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"
  126. wait 2 seconds
  127. broadcast "{@P} UHC is starting in:"
  128. loop 5 times:
  129. set {_color} to a random element out of {_colors::*}
  130. remove {_color} from {_colors::*}
  131. broadcast "{@P} %{_color}%&l%{_time}%…"
  132. if {_time} is greater than or equal to 1:
  133. subtract 1 from {_time}
  134. if {_sound} is greater than or equal to 1.0:
  135. command "/sall fireworks.launch"
  136. wait 1 second
  137.  
  138.  
  139.  
  140. #Freeze
  141.  
  142.  
  143. command sender command "/freeze"
  144. loop all players:
  145. execute console command "/effect %loop-player% clear"
  146.  
  147. delete {_time}
  148. delete {_sound}
  149. delete {_colors::*}
  150.  
  151. loop 3 times:
  152. broadcast "{@P}&l GO!"
  153. command "/sall fireworks.largeBlast"
  154. wait 0.2 seconds
  155.  
  156.  
  157. #Time
  158.  
  159. set time to 6:00
  160.  
  161. command sender command "/effc"
  162. command sender command "/saturation"
  163. command sender command "/timer-start %{_timeTilMeetup}% %{_timeTilPvP}%"
  164. wait 10 seconds
  165.  
  166. #Heal feed
  167.  
  168. loop all players:
  169. heal the loop-player
  170. set the loop-player's hunger to 20
  171.  
  172. broadcast "{@P} Final heal given!"
  173.  
  174. #Box damage unmute
  175.  
  176. command sender command "/firstdamage reset"
  177. command sender command "/boxremove world"
  178.  
  179. set {mute all} to false
  180.  
  181.  
  182.  
  183. if arg-1 is "end":
  184. command sender is player:
  185. loop all players:
  186. make loop-player execute command "/endspec"
  187. teleport loop-player to spawn point of "FleftSpawn"
  188. execute console command "/xp -1000L %loop-player%"
  189.  
  190.  
  191. clear the loop-player's inventory
  192. heal the loop-player
  193. set the loop-player's hunger to 20
  194.  
  195. wait 1 second
  196. set {uhcGame} to false
  197. command sender command "/timer-stop"
  198. command sender command "/pvptoggle on"
  199. command sender command "/wl off"
  200. execute console command "/wl clear"
  201. command sender command "/matchpost none"
  202. command sender command "/nextgame"
  203. command sender command "/feature on PotionNerfs"
  204. command sender command "/feature off PlayerHeads"
  205. command sender command "/pvparena on"
  206. command sender command "/1v1arena on"
  207. command sender command "/parkour on"
  208. command sender command "/wl death off"
  209. command sender command "/questions off"
  210. command sender command "/effc"
  211. command sender command "/killboard off"
  212. command sender command "/cmotd Open PvP!"
  213. broadcast "{@P} UHC is over!"
  214.  
  215. if arg-1 is "option" or "options" or "feature" or "features":
  216.  
  217. if arg-2 is "ffa" or "FFA":
  218. if {UHC.FFA} is not set:
  219. set {UHC.FFA} to true
  220. message "{@P} Next game is FFA!"
  221. else:
  222. delete {UHC.FFA}
  223. message "{@P} Next game isn't FFA!"
  224.  
  225. else if arg-2 is "absorption" or "absorb" or "absorp":
  226. if {UHC.Absorp} is not set:
  227. set {UHC.Absorp} to true
  228. message "{@P} Absorption enabled!"
  229. else:
  230. delete {UHC.Absorp}
  231. message "{@P} Absorption disabled!"
  232.  
  233. else if arg-2 is "heads" or "head":
  234. if {UHC.Heads} is not set:
  235. set {UHC.Heads} to true
  236. message "{@P} Heads enabled!"
  237. else:
  238. delete {UHC.Heads}
  239. message "{@P} Heads disabled!"
  240.  
  241. else if arg-2 is "lightning" or "light":
  242. if {UHC.Lightning} is not set:
  243. set {UHC.Lightning} to true
  244. message "{@P} Death Lightning enabled!"
  245. else:
  246. delete {UHC.Lightning}
  247. message "{@P} Death Lightning disabled!"
  248. else:
  249. message "{@P} Not a valid option!"
  250.  
  251.  
  252.  
  253.  
  254. command /megabutcher [<time span>]:
  255. permission: skript.megabutcher
  256. usage: /megabutcher <time in seconds>
  257. trigger:
  258. if arg 1 is not set:
  259. message "{@P} &e/megabutcher <time in seconds>"
  260. else:
  261. if {Butcher.Enabled} is true:
  262. message "{@P} Butcher is currently going on."
  263. else:
  264. set {Butcher.Enabled} to true
  265. broadcast "{@P} Butchering for %arg%"
  266. execute player command "/butcher"
  267. wait (arg 1)
  268. delete {Butcher.Enabled}
  269. broadcast "{@P} Finished Butchering!"
  270.  
  271.  
  272.  
  273. on chat:
  274. player is not op:
  275. {UHC.mute} is true:
  276. cancel the event
  277. on spawn:
  278. {Butcher.Enabled} is true
  279. cancel the event
  280.  
  281. command /dubstep <text> <text>:
  282. permission: skript.op
  283. trigger:
  284. set {musicTest} to 0.5
  285. wait 0.1 second
  286. if arg-2 is "up":
  287. set {musicTest} to 0.5
  288. wait 0.1 second
  289. loop 30 times:
  290. set {musicTest} to {musicTest} + 0.05
  291. execute console command "/sall %arg-1% %{musicTest}%"
  292. wait 0.1 seconds
  293. if arg-2 is "down":
  294. set {musicTest} to 2
  295. wait 0.1 second
  296. loop 30 times:
  297. set {musicTest} to {musicTest} - 0.05
  298. execute console command "/sall %arg-1% %{musicTest}%"
  299. wait 0.1 seconds
  300. command /killboard <text>:
  301. permission: skript.op
  302. trigger:
  303. if arg is "on":
  304. if {killboard} is true:
  305. message "{@P} Killboard already enabled!"
  306. stop trigger
  307. set {killboard} to true
  308. message "{@P} Killboard enabled!"
  309. execute console command "/scoreboard objectives add &7>&9Kills&7< playerKillCount"
  310. execute console command "/scoreboard objectives setdisplay sidebar &7>&9Kills&7<"
  311.  
  312. if arg is "off":
  313. if {killboard} is false:
  314. message "{@P} Killboard already disabled!"
  315. stop trigger
  316. set {killboard} to false
  317. message "{@P} Killboard disabled!"
  318. execute console command "/scoreboard objectives remove &7>&9Kills&7<"
  319. execute console command "/scoreboard players reset &a&oPvE"
  320.  
  321. on death of player:
  322. {killboard} is true:
  323. attacker is player:
  324. stop trigger
  325. else:
  326. execute console command "/scoreboard players add &a&oPvE &7>&9Kills&7< 1"
  327.  
  328.  
  329.  
  330.  
  331. #------------------------------------
  332.  
  333.  
  334. command /uhcAPS:
  335. permission: skript.op
  336. trigger:
  337. loop all players:
  338. execute console command "/playsound note.pling %loop-player% ~ ~ ~ 1 %a random number between 0.5 and 2% 1"
  339.  
  340.  
  341. command /uhctest:
  342. permission: skript.op
  343. trigger:
  344. set {_time} to 5
  345. set {_sound} to 1.9
  346. 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"
  347. wait 2 seconds
  348. broadcast "{@P} UHC is starting in:"
  349. loop 5 times:
  350. set {_color} to a random element out of {_colors::*}
  351. remove {_color} from {_colors::*}
  352. broadcast "{@P} %{_color}%&l%{_time}%…"
  353. if {_time} is greater than or equal to 1:
  354. subtract 1 from {_time}
  355. if {_sound} is greater than or equal to 1.0:
  356. command "/sall fireworks.launch"
  357. wait 1 second
  358.  
  359. delete {_time}
  360. delete {_sound}
  361. delete {_colors::*}
  362.  
  363. loop 3 times:
  364. broadcast "{@P}&l GO!"
  365. command "/sall fireworks.largeBlast"
  366. wait 0.25 seconds
  367.  
  368.  
  369. command /satan:
  370. permission: skript.op
  371. trigger:
  372. add "/sall mob.ghast.scream" to {_command::*}
  373. add "/sall fire.ignite" to {_command::*}
  374. add "/sall liquid.lavapop" to {_command::*}
  375. add "/sall mob.blaze.death" to {_command::*}
  376. add "/sall mob.cat.hiss" to {_command::*}
  377. add "/sall mob.endermen.scream" to {_command::*}
  378. add "/sall mob.bat.death" to {_command::*}
  379. add "/sall mob.wolf.howl" to {_command::*}
  380. add "/sall mob.ghast.death" to {_command::*}
  381. add "/sall mob.ghast.affectionate_scream" to {_command::*}
  382. loop 200 times:
  383. set {_c} to a random element out of {_command::*}
  384. command "%{_c}%"
  385. wait 0.05 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement