Guest User

Untitled

a guest
Apr 16th, 2016
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.34 KB | None | 0 0
  1. #####################
  2. # AuraG
  3. # v0.1
  4. # Zakaz kopiowania
  5. #
  6. ####################
  7. aliases:
  8. nonsolid = 0, 10, 11
  9. command /1Aura [<player>]:
  10. trigger:
  11. if player doesn't have permission "ca.admin":
  12. send "&4Nie posiadasz uprawnien"
  13. stop
  14. if arg 1 is set:
  15. set {czas} to difference between {opoznienie.%player%} and now
  16. if {czas} is less than 2 seconds:
  17. send "Poczekaj jeszcze &b%difference between 2 seconds and {czas}%"
  18. stop
  19. else:
  20. set {_a} to location of arg 1
  21. loop blocks in radius 1.5 around {_a}:
  22. spawn 1 Zombie at the loop-block
  23. set {ca.zombie.%last spawned entity%} to true
  24. wait 0.3 seconds
  25. apply invisibility 1000 to last spawned entity
  26. extinguish last spawned entity
  27. kill last spawned entity
  28. clear dropped Items
  29. stop
  30. command /2Aura [<player>]:
  31. trigger:
  32. if player doesn't have permission "ca.admin":
  33. send "&4Nie posiadasz uprawnien"
  34. stop
  35. if arg 1 is set:
  36. set {czas} to difference between {opoznienie.%player%} and now
  37. if {czas} is less than 2 seconds:
  38. send "Poczekaj jeszcze &b%difference between 2 seconds and {czas}%"
  39. stop
  40. else:
  41. set {_a} to location of arg 1
  42. loop blocks in radius 1.5 around {_a}:
  43. spawn 1 Zombie at the loop-block
  44. set {ca.zombie.%last spawned entity%} to true
  45. wait 0.3 seconds
  46. apply invisibility 1000 to last spawned entity
  47. extinguish last spawned entity
  48. kill last spawned entity
  49. clear dropped Items
  50. stop
  51. command /3Aura [<player>]:
  52. trigger:
  53. if player doesn't have permission "ca.admin":
  54. send "&4Nie posiadasz uprawnien"
  55. stop
  56. if arg 1 is set:
  57. set {czas} to difference between {opoznienie.%player%} and now
  58. if {czas} is less than 2 seconds:
  59. send "Poczekaj jeszcze &b%difference between 2 seconds and {czas}%"
  60. stop
  61. else:
  62. set {_a} to location of arg 1
  63. loop blocks in radius 1.5 around {_a}:
  64. spawn 1 Zombie at the loop-block
  65. set {ca.zombie.%last spawned entity%} to true
  66. wait 0.3 seconds
  67. apply invisibility 1000 to last spawned entity
  68. extinguish last spawned entity
  69. kill last spawned entity
  70. clear dropped Items
  71. stop
  72. command /4Aura [<player>]:
  73. trigger:
  74. if player doesn't have permission "ca.admin":
  75. send "&4Nie posiadasz uprawnien"
  76. stop
  77. if arg 1 is set:
  78. set {czas} to difference between {opoznienie.%player%} and now
  79. if {czas} is less than 2 seconds:
  80. send "Poczekaj jeszcze &b%difference between 2 seconds and {czas}%"
  81. stop
  82. else:
  83. set {_a} to location of arg 1
  84. loop blocks in radius 1.5 around {_a}:
  85. spawn 1 Zombie at the loop-block
  86. set {ca.zombie.%last spawned entity%} to true
  87. wait 0.3 seconds
  88. apply invisibility 1000 to last spawned entity
  89. extinguish last spawned entity
  90. kill last spawned entity
  91. clear dropped Items
  92. stop
  93.  
  94. command /Aura [<player>]:
  95. trigger:
  96. if arg 1 is set:
  97. set {czas} to difference between {opoznienie.%player%} and now
  98. if {czas} is less than 60 seconds:
  99. send "&7Komendy Mozesz Uzyc Za &6%difference between 60 seconds and {czas}%"
  100. stop
  101. else:
  102. set {opoznienie.%player%} to now
  103. send "&7Za &610 Sek Zaczne Prace" to player
  104. wait 10 seconds
  105. set {_a} to location of arg 1
  106. loop blocks in radius 1.5 around {_a}:
  107. spawn 1 Zombie at the loop-block
  108. set {ca.zombie.%last spawned entity%} to true
  109. wait 0.3 seconds
  110. apply invisibility 1000 to last spawned entity
  111. extinguish last spawned entity
  112. kill last spawned entity
  113. clear dropped Items
  114. wait 2 seconds
  115. execute console command "/1aura %arg 1%"
  116. wait 2 seconds
  117. execute console command "/2aura %arg 1%"
  118. wait 2 seconds
  119. execute console command "/3aura %arg 1%"
  120. wait 2 seconds
  121. execute console command "/4aura %arg 1%"
  122. wait 1 seconds
  123. send "&6Analizuje Wyniki& 7,&6Prosze Czekac"
  124. wait 5 seconds
  125. if {uderzenia.%player%} is 12:
  126. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  127. set {uderzenia.%player%} to 0
  128. execute console command "/ban %arg 1% Kill Aura..."
  129. stop
  130. if {uderzenia.%player%} is 11:
  131. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  132. set {uderzenia.%player%} to 0
  133. execute console command "/ban %arg 1% Kill Aura..."
  134. stop
  135. if {uderzenia.%player%} is 10:
  136. send "&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  137. set {uderzenia.%player%} to 0
  138. execute console command "/ban %arg 1% Kill Aura..."
  139. stop
  140. if {uderzenia.%player%} is 9:
  141. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  142. set {uderzenia.%player%} to 0
  143. execute console command "/ban %arg 1% Kill Aura..."
  144. stop
  145. if {uderzenia.%player%} is 8:
  146. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  147. set {uderzenia.%player%} to 0
  148. execute console command "/ban %arg 1% Kill Aura..."
  149. stop
  150. if {uderzenia.%player%} is 7:
  151. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  152. set {uderzenia.%player%} to 0
  153. execute console command "/ban %arg 1% Kill Aura..."
  154. stop
  155. if {uderzenia.%player%} is 6:
  156. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  157. set {uderzenia.%player%} to 0
  158. execute console command "/ban %arg 1% Kill Aura..."
  159. stop
  160. if {uderzenia.%player%} is 5:
  161. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  162. set {uderzenia.%player%} to 0
  163. execute console command "/ban %arg 1% Kill Aura..."
  164. stop
  165. if {uderzenia.%player%} is 4:
  166. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 99%% Kill Aure" to player
  167. set {uderzenia.%player%} to 0
  168. execute console command "/ban %arg 1% Kill Aura..."
  169. stop
  170. if {uderzenia.%player%} is 3:
  171. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 90%% Kill Aure" to player
  172. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 90%% Kill Aure" to all ops
  173. set {uderzenia.%player%} to 0
  174. stop
  175. if {uderzenia.%player%} is 2:
  176. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 80%% Kill Aure" to player
  177. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 80%% Kill Aure" to all ops
  178. set {uderzenia.%player%} to 0
  179. stop
  180. if {uderzenia.%player%} is 1:
  181. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 70%% Kill Aure" to all ops
  182. send "[&cAuraG]&7Gracz &6%arg 1% &7Posiada W 70%% Kill Aure" to player
  183. set {uderzenia.%player%} to 0
  184. stop
  185. send "[&cAuraG]&7Gracz &6%arg 1% &7Nie Posiada W 50%% Kill Aury" to player
  186. clear {uderzenia.%player%}
  187. set {uderzenia.%player%} to 0
  188. stop
  189. else:
  190. send "&cPodaj Nick Gracza"
  191. stop
  192.  
  193. on damage of zombie:
  194. if {ca.zombie.%last spawned entity%} is true:
  195. add 1 to {uderzenia.%attacker%}
  196. apply invisibility 1000 to last spawned entity
  197. stop
  198.  
  199. on damage:
  200. attacker is a player
  201. if the targeted entity of the attacker is the victim:
  202. stop
  203. cancel event
Advertisement
Add Comment
Please, Sign In to add comment