Winter__

Untitled

Aug 14th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. #================================#
  2. #=====Recorded Round Skript======#
  3. #================================#
  4.  
  5.  
  6. options:
  7. Pre: &b[&2Brotherhood&b]&3
  8. PreMess: &b[&2Brotherhood&b]&c
  9. PreImpo: &b[&2Brotherhood&b]&6
  10. OpPerm: skript.rr
  11. PermMess: &cYou don't have permission to do that!
  12.  
  13. command /startrr:
  14. permission: {@OpPerm}
  15. permission message: {@PermMess}
  16. trigger:
  17. command "/sk disable all"
  18. command "/sk enable recordedround"
  19. broadcast "{@PreImpo} Welcome to The Brotherhood UHC Season 1"
  20. wait 1 second
  21. broadcast "{@PreImpo} Brothers in Arms!"
  22. wait 5 seconds
  23. broadcast "{@Pre} Episodes are 20 minutes long"
  24. wait 5 seconds
  25. broadcast "{@Pre} Match starting in 10"
  26. command "/playsoundrr note.pling"
  27. wait 1 second
  28. broadcast "{@Pre} Match starting in 9"
  29. command "/playsoundrr note.pling"
  30. wait 1 second
  31. broadcast "{@Pre} Match starting in 8"
  32. command "/playsoundrr note.pling"
  33. wait 1 second
  34. broadcast "{@Pre} Match starting in 7"
  35. command "/playsoundrr note.pling"
  36. wait 1 second
  37. broadcast "{@Pre} Match starting in 6"
  38. command "/playsoundrr note.pling"
  39. wait 1 second
  40. broadcast "{@Pre} Match starting in 5"
  41. command "/playsoundrr note.pling"
  42. wait 1 second
  43. broadcast "{@Pre} Match starting in 4"
  44. command "/playsoundrr note.pling"
  45. wait 1 second
  46. broadcast "{@Pre} Match starting in 3"
  47. command "/playsoundrr note.pling"
  48. wait 1 second
  49. broadcast "{@Pre} Match starting in 2"
  50. command "/playsoundrr note.pling"
  51. wait 1 second
  52. broadcast "{@Pre} Match starting in 1"
  53. command "/playsoundrr note.pling"
  54. command "/freeze"
  55. wait 1 second
  56. broadcast "{@Pre} Match Starting Now!"
  57. command "/unfreezerr"
  58. set {RR.continue} to true
  59. set {episode} to 1
  60. while {RR.continue} is true:
  61. broadcast "{@Pre} Episode %{episode}% has begun!"
  62. command "/playsoundrr random.explode 2"
  63. add 1 to {episode}
  64. command "/timer 1200 Time to Episode %{episode}%"
  65. wait 20 minutes
  66. command /endrr:
  67. permission: {@OpPerm}
  68. permission message: {@PermMess}
  69. trigger:
  70. set {RR.continue} to false
  71. broadcast "{@PreImpo} Recorded Round Ended!"
  72.  
  73.  
  74. command /unfreezerr:
  75. permission: {@OpPerm}
  76. permission message: {@PermMess}
  77. trigger:
  78. loop all players:
  79. command "/effect %loop-player% clear"
  80.  
  81.  
  82. command /playsoundrr <text> [<number>]:
  83. permission: operator
  84. usage: "/playsoundrr <sound> [pitch]"
  85. trigger:
  86. loop all players:
  87. if arg 2 is not set:
  88. command "/playsound %arg 1% %loop-player%"
  89. else:
  90. set {_xloc} to loop-player's x coordinate
  91. set {_yloc} to loop-player's y coordinate
  92. set {_zloc} to loop-player's z coordinate
  93. command "/playsound %arg 1% %loop-player% %{_xloc}% %{_yloc}% %{_zloc}% 1 %arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment