Advertisement
Winter__

Untitled

Aug 17th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.44 KB | None | 0 0
  1. command /ss-teleport:
  2. description: Teleport all non-captains to their positions
  3. usage: /ssteleport
  4. permission: sharpshooter.admin
  5. permission message: &b&lNo.
  6. trigger:
  7. loop all players:
  8. heal the loop-player
  9. if {captain.%loop-player%} is false:
  10. set the loop-player's gamemode to adventure
  11. apply JUMP 250 to the loop-player for 50000 seconds
  12. apply SLOW 250 to the loop-player for 50000 seconds
  13. apply BLINDNESS 10 to the loop-player for 50000 seconds
  14. broadcast "{@Prefix} Teleporting players in 3 seconds!"
  15. wait 1 second
  16. broadcast "{@Prefix} Teleporting players in 2 seconds!"
  17. wait 1 second
  18. broadcast "{@Prefix} Teleporting players in 1 second!"
  19. wait 1 second
  20. broadcast "{@Prefix} Teleporting all players to their pads!"
  21. loop all players:
  22. if {captain.%loop-player%} is false:
  23. add 1 to {warps.count}
  24. broadcast "{@Prefix} Teleported &6%loop-player% &cto their pad!"
  25. damage the loop-player by 3.1 hearts
  26. if {warps.count} is equal to 1:
  27. command "/warp SS1 %loop-player%"
  28. wait 1 tick
  29. if {warps.count} is equal to 2:
  30. command "/warp SS2 %loop-player%"
  31. wait 1 tick
  32. if {warps.count} is equal to 3:
  33. command "/warp SS3 %loop-player%"
  34. wait 1 tick
  35. if {warps.count} is equal to 4:
  36. command "/warp SS4 %loop-player%"
  37. wait 1 tick
  38. if {warps.count} is equal to 5:
  39. command "/warp SS5 %loop-player%"
  40. wait 1 tick
  41. if {warps.count} is equal to 6:
  42. command "/warp SS6 %loop-player%"
  43. wait 1 tick
  44. if {warps.count} is equal to 7:
  45. command "/warp SS7 %loop-player%"
  46. wait 1 tick
  47. if {warps.count} is equal to 8:
  48. command "/warp SS8 %loop-player%"
  49. wait 1 tick
  50. if {warps.count} is equal to 9:
  51. command "/warp SS9 %loop-player%"
  52. wait 1 tick
  53. if {warps.count} is equal to 10:
  54. command "/warp SS10 %loop-player%"
  55. wait 1 tick
  56. if {warps.count} is equal to 11:
  57. command "/warp SS11 %loop-player%"
  58. wait 1 tick
  59. if {warps.count} is equal to 12:
  60. command "/warp SS12 %loop-player%"
  61. wait 1 tick
  62. if {warps.count} is equal to 13:
  63. command "/warp SS13 %loop-player%"
  64. wait 1 tick
  65. if {warps.count} is equal to 14:
  66. command "/warp SS14 %loop-player%"
  67. wait 1 tick
  68. if {warps.count} is equal to 15:
  69. command "/warp SS15 %loop-player%"
  70. wait 1 tick
  71. if {warps.count} is equal to 16:
  72. command "/warp SS16 %loop-player%"
  73. wait 1 tick
  74. if {warps.count} is equal to 17:
  75. command "/warp SS17 %loop-player%"
  76. wait 1 tick
  77. if {warps.count} is equal to 18:
  78. command "/warp SS18 %loop-player%"
  79. wait 1 tick
  80. if {warps.count} is equal to 19:
  81. command "/warp SS19 %loop-player%"
  82. wait 1 tick
  83. if {warps.count} is equal to 20:
  84. command "/warp SS20 %loop-player%"
  85. wait 1 tick
  86. if {warps.count} is equal to 21:
  87. command "/warp SS21 %loop-player%"
  88. wait 1 tick
  89. if {warps.count} is equal to 22:
  90. command "/warp SS22 %loop-player%"
  91. wait 1 tick
  92. if {warps.count} is equal to 23:
  93. command "/warp SS23 %loop-player%"
  94. wait 1 tick
  95. if {warps.count} is equal to 24:
  96. command "/warp SS24 %loop-player%"
  97. wait 1 tick
  98. if {warps.count} is equal to 25:
  99. command "/warp SS25 %loop-player%"
  100. wait 1 tick
  101. if {warps.count} is equal to 26:
  102. command "/warp SS26 %loop-player%"
  103. wait 1 tick
  104. if {warps.count} is equal to 27:
  105. command "/warp SS27 %loop-player%"
  106. wait 1 tick
  107. if {warps.count} is equal to 28:
  108. command "/warp SS28 %loop-player%"
  109. wait 1 tick
  110. if {warps.count} is equal to 29:
  111. command "/warp SS29 %loop-player%"
  112. wait 1 tick
  113. if {warps.count} is equal to 30:
  114. command "/warp SS30 %loop-player%"
  115. wait 1 tick
  116. if {warps.count} is equal to 31:
  117. command "/warp SS31 %loop-player%"
  118. wait 1 tick
  119. if {warps.count} is equal to 32:
  120. command "/warp SS32 %loop-player%"
  121. wait 1 tick
  122. if {warps.count} is equal to 33:
  123. command "/warp SS33 %loop-player%"
  124. wait 1 tick
  125. if {warps.count} is equal to 34:
  126. command "/warp SS34 %loop-player%"
  127. wait 1 tick
  128. if {warps.count} is equal to 35:
  129. command "/warp SS35 %loop-player%"
  130. wait 1 tick
  131. if {warps.count} is equal to 36:
  132. command "/warp SS36 %loop-player%"
  133. wait 1 tick
  134. if {warps.count} is equal to 37:
  135. command "/warp SS37 %loop-player%"
  136. wait 1 tick
  137. if {warps.count} is equal to 38:
  138. command "/warp SS38 %loop-player%"
  139. wait 1 tick
  140. if {warps.count} is equal to 39:
  141. command "/warp SS39 %loop-player%"
  142. wait 1 tick
  143. if {warps.count} is equal to 40:
  144. command "/warp SS40 %loop-player%"
  145. wait 1 tick
  146. if {warps.count} is equal to 41:
  147. command "/warp SS41 %loop-player%"
  148. wait 1 tick
  149. if {warps.count} is equal to 42:
  150. command "/warp SS42 %loop-player%"
  151. wait 1 tick
  152. if {warps.count} is equal to 43:
  153. command "/warp SS43 %loop-player%"
  154. wait 1 tick
  155. if {warps.count} is equal to 44:
  156. command "/warp SS44 %loop-player%"
  157. wait 1 tick
  158. if {warps.count} is equal to 45:
  159. command "/warp SS45 %loop-player%"
  160. wait 1 tick
  161. if {warps.count} is equal to 46:
  162. command "/warp SS46 %loop-player%"
  163. wait 1 tick
  164. if {warps.count} is equal to 47:
  165. command "/warp SS47 %loop-player%"
  166. wait 1 tick
  167. if {warps.count} is equal to 48:
  168. command "/warp SS48 %loop-player%"
  169. wait 1 tick
  170. if {warps.count} is equal to 49:
  171. command "/warp SS49 %loop-player%"
  172. wait 1 tick
  173. if {warps.count} is equal to 50:
  174. command "/warp SS50 %loop-player%"
  175. wait 1 tick
  176. if {warps.count} is equal to 51:
  177. command "/warp SS51 %loop-player%"
  178. wait 1 tick
  179. if {warps.count} is equal to 52:
  180. command "/warp SS52 %loop-player%"
  181. wait 1 tick
  182. if {warps.count} is equal to 53:
  183. command "/warp SS53 %loop-player%"
  184. wait 1 tick
  185. if {warps.count} is equal to 54:
  186. command "/warp SS54 %loop-player%"
  187. wait 1 tick
  188. if {warps.count} is equal to 55:
  189. command "/warp SS55 %loop-player%"
  190. wait 1 tick
  191. if {warps.count} is equal to 56:
  192. command "/warp SS56 %loop-player%"
  193. wait 1 tick
  194. if {warps.count} is equal to 57:
  195. command "/warp SS57 %loop-player%"
  196. wait 1 tick
  197. if {warps.count} is equal to 58:
  198. command "/warp SS58 %loop-player%"
  199. wait 1 tick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement