Advertisement
fleft17

Untitled

Aug 3rd, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.54 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. #uhcGame / specinfo
  42.  
  43. set {uhcGame} to true
  44.  
  45. command sender command "/specinfo reset"
  46.  
  47. #Features
  48.  
  49. if {UHC.FFA} is set:
  50. command sender command "/feature on DeathMessages"
  51. broadcast "{@P Death Messages enabled!"
  52. else:
  53. command sender command "/feature off DeathMessages"
  54. broadcast "{@P Death Messages disabled!"
  55.  
  56. if {UHC.Absorp} is set:
  57. command sender command "/feature off PotionNerfs"
  58. broadcast "{@P} Absorption enabled!"
  59. else:
  60. command sender command "/feature on PotionNerfs"
  61. broadcast "{@P} Absorption disabled!"
  62.  
  63. if {UHC.Heads} is set:
  64. command sender command "/feature on PlayerHeads"
  65. broadcast "{@P} Heads enabled!"
  66. else:
  67. command sender command "/feature off PlayerHeads"
  68. broadcast "{@P} Heads disabled!"
  69.  
  70. if {UHC.Lighting} is set:
  71. command sender command "/feature on DeathLightning"
  72. broadcast "{@P} Death Lightning enabled!"
  73. else:
  74. command sender command "/feature off DeathLightning"
  75. broadcast "{@P} Death Lightning disabled!"
  76.  
  77. #MOTD Muteall
  78.  
  79. command sender command "/cMotd Game in progress!"
  80. set {mute all} to true
  81.  
  82. #UHC / Dolphins
  83.  
  84. set {uhcGame} to true
  85. set {dolphins} to false
  86.  
  87.  
  88. #Timer
  89.  
  90.  
  91. if arg-2 is not set:
  92. set {_timeTilMeetup} to "90" parsed as integer
  93. if arg-3 is not set:
  94. set {_timeTilPvP} to "20" parsed as integer
  95. if arg-2 is set:
  96. set {_timeTilMeetup} to arg-2 parsed as integer
  97. if arg-3 is set:
  98. set {_timeTilPvP} to arg-3 parsed as integer
  99.  
  100. #Gamemode, reappear, xp
  101.  
  102.  
  103. loop all players:
  104. execute console command "/vanflag %loop-player% -see"
  105. set the player's gamemode to survival
  106. execute console command "/xp -500L %loop-player%"
  107.  
  108.  
  109. #PVP Toggle
  110.  
  111. execute console command "/pvptoggle world off"
  112. execute console command "/pvptoggle world_nether on"
  113. execute console command "/pvptoggle world_the_end on"
  114.  
  115.  
  116. #Butcher
  117.  
  118. command sender command "/megabutcher 30 seconds"
  119.  
  120.  
  121. #Heal/feed/clear
  122.  
  123. loop all players:
  124. set loop-player's hunger to 20
  125. heal loop-player
  126. clear the loop-player's inventory
  127.  
  128.  
  129. command sender command "/killboard on"
  130.  
  131. #Countdown
  132.  
  133. set {_time} to 5
  134. set {_sound} to 1.9
  135. 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"
  136. wait 2 seconds
  137. broadcast "{@P} UHC is starting in:"
  138. loop 5 times:
  139. set {_color} to a random element out of {_colors::*}
  140. remove {_color} from {_colors::*}
  141. broadcast "{@P} %{_color}%&l%{_time}%…"
  142. if {_time} is greater than or equal to 1:
  143. subtract 1 from {_time}
  144. if {_sound} is greater than or equal to 1.0:
  145. command "/sall fireworks.launch"
  146. wait 1 second
  147.  
  148.  
  149.  
  150. #Freeze
  151.  
  152.  
  153. command sender command "/freeze"
  154. loop all players:
  155. execute console command "/effect %loop-player% clear"
  156.  
  157. delete {_time}
  158. delete {_sound}
  159. delete {_colors::*}
  160.  
  161. loop 3 times:
  162. broadcast "{@P}&l GO!"
  163. command "/sall fireworks.largeBlast"
  164. wait 0.2 seconds
  165.  
  166.  
  167. #Time
  168.  
  169. set time to 6:00
  170.  
  171. command sender command "/effc"
  172. command sender command "/saturation"
  173. command sender command "/timer-start %{_timeTilMeetup}% %{_timeTilPvP}%"
  174. wait 10 seconds
  175.  
  176. #Heal feed
  177.  
  178. loop all players:
  179. heal the loop-player
  180. set the loop-player's hunger to 20
  181.  
  182. broadcast "{@P} Final heal given!"
  183.  
  184. #Box damage unmute
  185.  
  186. command sender command "/firstdamage reset"
  187. command sender command "/boxremove world"
  188.  
  189. set {mute all} to false
  190.  
  191.  
  192.  
  193. if arg-1 is "end":
  194. command sender is player:
  195. loop all players:
  196. make loop-player execute command "/endspec"
  197. teleport loop-player to spawn point of "FleftSpawn"
  198. execute console command "/xp -1000L %loop-player%"
  199.  
  200.  
  201. clear the loop-player's inventory
  202. heal the loop-player
  203. set the loop-player's hunger to 20
  204. execute console command "/pvpcompass %loop-player%"
  205.  
  206. wait 1 second
  207. set {uhcGame} to false
  208. command sender command "/timer-stop"
  209. command sender command "/pvptoggle on"
  210. command sender command "/wl off"
  211. execute console command "/wl clear"
  212. command sender command "/matchpost none"
  213. command sender command "/nextgame"
  214. command sender command "/feature on PotionNerfs"
  215. command sender command "/feature off PlayerHeads"
  216. command sender command "/pvparena on"
  217. command sender command "/1v1arena on"
  218. command sender command "/parkour on"
  219. command sender command "/wl death off"
  220. command sender command "/questions off"
  221. command sender command "/effc"
  222. command sender command "/killboard off"
  223. command sender command "/cmotd Open PvP!"
  224. broadcast "{@P} UHC is over!"
  225.  
  226. if arg-1 is "option" or "options" or "feature" or "features":
  227.  
  228. if arg-2 is "ffa" or "FFA":
  229. if {UHC.FFA} is not set:
  230. set {UHC.FFA} to true
  231. message "{@P} Next game is FFA!"
  232. else:
  233. delete {UHC.FFA}
  234. message "{@P} Next game isn't FFA!"
  235.  
  236. else if arg-2 is "absorption" or "absorb" or "absorp":
  237. if {UHC.Absorp} is not set:
  238. set {UHC.Absorp} to true
  239. message "{@P} Absorption enabled!"
  240. else:
  241. delete {UHC.Absorp}
  242. message "{@P} Absorption disabled!"
  243.  
  244. else if arg-2 is "heads" or "head":
  245. if {UHC.Heads} is not set:
  246. set {UHC.Heads} to true
  247. message "{@P} Heads enabled!"
  248. else:
  249. delete {UHC.Heads}
  250. message "{@P} Heads disabled!"
  251.  
  252. else if arg-2 is "lightning" or "light":
  253. if {UHC.Lightning} is not set:
  254. set {UHC.Lightning} to true
  255. message "{@P} Death Lightning enabled!"
  256. else:
  257. delete {UHC.Lightning}
  258. message "{@P} Death Lightning disabled!"
  259.  
  260. else if arg-2 is "list":
  261. if {UHC.FFA} is not set:
  262. message "{@P} Game is not FFA"
  263. else:
  264. message "{@P} Game is FFA"
  265. if {UHC.Absorp} is not set:
  266. message "{@P} Absorption is disabled"
  267. else:
  268. message "{@P} Absorption is enabled"
  269. if {UHC.Heads} is not set:
  270. message "{@P} Heads are off"
  271. else:
  272. message "{@P} Heads are on"
  273. if {UHC.Lightning} is set:
  274. message "{@P} Death Lightning is on"
  275. else:
  276. message "{@P} Death Lightning is off"
  277. else:
  278. message "{@P} Not a valid option!"
  279.  
  280.  
  281.  
  282.  
  283. command /megabutcher [<time span>]:
  284. permission: skript.megabutcher
  285. usage: /megabutcher <time in seconds>
  286. trigger:
  287. if arg 1 is not set:
  288. message "{@P} &e/megabutcher <time in seconds>"
  289. else:
  290. if {Butcher.Enabled} is true:
  291. message "{@P} Butcher is currently going on."
  292. else:
  293. set {Butcher.Enabled} to true
  294. broadcast "{@P} Butchering for %arg%"
  295. execute player command "/butcher"
  296. wait (arg 1)
  297. delete {Butcher.Enabled}
  298. broadcast "{@P} Finished Butchering!"
  299.  
  300.  
  301.  
  302. on chat:
  303. player is not op:
  304. {UHC.mute} is true:
  305. cancel the event
  306. on spawn:
  307. {Butcher.Enabled} is true
  308. cancel the event
  309.  
  310. command /dubstep <text> <text>:
  311. permission: skript.op
  312. trigger:
  313. set {musicTest} to 0.5
  314. wait 0.1 second
  315. if arg-2 is "up":
  316. set {musicTest} to 0.5
  317. wait 0.1 second
  318. loop 30 times:
  319. set {musicTest} to {musicTest} + 0.05
  320. execute console command "/sall %arg-1% %{musicTest}%"
  321. wait 0.1 seconds
  322. if arg-2 is "down":
  323. set {musicTest} to 2
  324. wait 0.1 second
  325. loop 30 times:
  326. set {musicTest} to {musicTest} - 0.05
  327. execute console command "/sall %arg-1% %{musicTest}%"
  328. wait 0.1 seconds
  329. command /killboard <text>:
  330. permission: skript.op
  331. trigger:
  332. if arg is "on":
  333. if {killboard} is true:
  334. message "{@P} Killboard already enabled!"
  335. stop trigger
  336. set {killboard} to true
  337. message "{@P} Killboard enabled!"
  338. execute console command "/scoreboard objectives add &7>&9Kills&7< playerKillCount"
  339. execute console command "/scoreboard objectives setdisplay sidebar &7>&9Kills&7<"
  340.  
  341. if arg is "off":
  342. if {killboard} is false:
  343. message "{@P} Killboard already disabled!"
  344. stop trigger
  345. set {killboard} to false
  346. message "{@P} Killboard disabled!"
  347. execute console command "/scoreboard objectives remove &7>&9Kills&7<"
  348. execute console command "/scoreboard players reset &a&oPvE"
  349.  
  350. on death of player:
  351. {killboard} is true:
  352. attacker is player:
  353. stop trigger
  354. else:
  355. execute console command "/scoreboard players add &a&oPvE &7>&9Kills&7< 1"
  356.  
  357.  
  358.  
  359. on command "i":
  360. {uhcGame} is true:
  361. {spectating.%player%} is false:
  362. cancel the event
  363. message "{@P} No." to the command sender
  364.  
  365. on command "give":
  366. {uhcGame} is true:
  367. {spectating.%player%} is false:
  368. cancel the event
  369. message "{@P} No." to the command sender
  370.  
  371. #on command "invsee":
  372. # {uhcGame} is true:
  373. # {spectating.%player%} is false:
  374. # cancel the event
  375. # message "{@P} No." to the command sender
  376.  
  377. on command "near":
  378. {uhcGame} is true:
  379. {spectating.%player%} is false:
  380. cancel the event
  381. message "{@P} No." to the command sender
  382.  
  383.  
  384. on damage of player:
  385. victim is in world "FleftSpawn":
  386. cancel the event
  387.  
  388. on drop:
  389. player is not op:
  390. {uhcGame} is false:
  391. cancel the event
  392.  
  393.  
  394. #------------------------------------
  395.  
  396.  
  397. command /uhcAPS:
  398. permission: skript.op
  399. trigger:
  400. loop all players:
  401. execute console command "/playsound note.pling %loop-player% ~ ~ ~ 1 %a random number between 0.5 and 2% 1"
  402.  
  403.  
  404. command /uhctest:
  405. permission: skript.op
  406. trigger:
  407. set {_time} to 5
  408. set {_sound} to 1.9
  409. 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"
  410. wait 2 seconds
  411. broadcast "{@P} UHC is starting in:"
  412. loop 5 times:
  413. set {_color} to a random element out of {_colors::*}
  414. remove {_color} from {_colors::*}
  415. broadcast "{@P} %{_color}%&l%{_time}%…"
  416. if {_time} is greater than or equal to 1:
  417. subtract 1 from {_time}
  418. if {_sound} is greater than or equal to 1.0:
  419. command "/sall fireworks.launch"
  420. wait 1 second
  421.  
  422. delete {_time}
  423. delete {_sound}
  424. delete {_colors::*}
  425.  
  426. loop 3 times:
  427. broadcast "{@P}&l GO!"
  428. command "/sall fireworks.largeBlast"
  429. wait 0.25 seconds
  430.  
  431.  
  432. command /satan:
  433. permission: skript.op
  434. trigger:
  435. add "/sall mob.ghast.scream" to {_command::*}
  436. add "/sall fire.ignite" to {_command::*}
  437. add "/sall liquid.lavapop" to {_command::*}
  438. add "/sall mob.blaze.death" to {_command::*}
  439. add "/sall mob.cat.hiss" to {_command::*}
  440. add "/sall mob.endermen.scream" to {_command::*}
  441. add "/sall mob.bat.death" to {_command::*}
  442. add "/sall mob.wolf.howl" to {_command::*}
  443. add "/sall mob.ghast.death" to {_command::*}
  444. add "/sall mob.ghast.affectionate_scream" to {_command::*}
  445. add "&c" to {_color::*}
  446. add "&e" to {_color::*}
  447. add "&6" to {_color::*}
  448. loop 200 times:
  449. set {_c} to a random element out of {_command::*}
  450. command "%{_c}%"
  451. set {_color} to a random element out of {_color::*}
  452. wait 0.05 seconds
  453. broadcast "( ͡° ͜ʖ ͡°) %{_color}%&l&oSATAN HAS ARRIVED ( ͡° ͜ʖ ͡°)"
  454.  
  455. command /breakingbad:
  456. permission: skript.op
  457. trigger:
  458. add "I AM THE ONE WHO KNOCKS" to {_bb::*}
  459. add "I AM THE DANGER" to {_bb::*}
  460. add "&a" to {_color::*}
  461. add "&2" to {_color::*}
  462. loop 200 times:
  463. set {_c} to a random element out of {_bb::*}
  464. set {_color} to a random element out of {_color::*}
  465. wait 0.05 seconds
  466. broadcast "%{_color}%( ͡° ͜ʖ ͡°) %{_c}% ( ͡° ͜ʖ ͡°)"
  467.  
  468. command /countdown <integer>:
  469. permission: skript.op
  470. trigger:
  471. set {_loop} to arg
  472. set {_number} to arg
  473. loop {_loop} times:
  474. broadcast "{@P} %{_number}%"
  475. subtract 1 from {_number}
  476. wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement