MostFunGuy

Untitled

Apr 6th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. on projectile hit:
  2. if {flares.color::%projectile%} is set:
  3.  
  4. set {_loc} to projectile's location
  5. set {_color} to {flares.color::%projectile%}
  6. clear {flares.color::%projectile%}
  7.  
  8. add {_loc} to {_listoflocations::*}
  9. loop 15 times:
  10. set {_multiplier} to loop-num * 7
  11. set {_addloc} to location {_multiplier} above {_loc}
  12. if block at {_addloc} is air:
  13. add {_addloc} to {_listoflocations::*}
  14.  
  15. loop 40 times:
  16.  
  17. set {_loopnum} to 0
  18.  
  19. loop {_listoflocations::*}:
  20. set {_loopnum} to {_loopnum} + 1
  21. if {_loopnum} is 15:
  22.  
  23. #set {_locupdated} to location 50 south 50 east of loop-value
  24.  
  25. set {_loop-numx} to 0
  26. set {_loop-numz} to 0
  27.  
  28. loop 7 times:
  29. set {_loop-numx} to {_loop-numx} + 1
  30. loop 7 times:
  31.  
  32. set {_loc} to loop-value
  33. set {_loc} to location 50 west 50 south of {_loc}
  34.  
  35. #set lore of player's tool to "<dark aqua>No weapon loaded...||<blue>----------||<gold>Right click to arm||<gold>an Airstrike type!"
  36. #message "{@pre}<gold>Napalm <yellow>activated!"
  37.  
  38. set {_north} to 0
  39. set {_east} to 0
  40.  
  41. #loop 2 times:
  42. #set {_north} to {_north} + 1
  43. #set {_loc} to location 10 north of {_loc}
  44. #set {_east} to 0
  45. #loop 2 times:
  46. #set {_east} to {_east} + 10
  47. #set {_newloc} to location {_east} east {_north} north of {_loc}
  48. #pop "BURST" colored {_color} at {_newloc}
  49.  
  50.  
  51. pop "BURST" colored {_color} at location 10 north of loop-value
  52. pop "BURST" colored {_color} at location 10 east of loop-value
  53. pop "BURST" colored {_color} at location 10 west of loop-value
  54. pop "BURST" colored {_color} at location 10 south of loop-value
  55.  
  56. pop "BURST" colored {_color} at location 20 north of loop-value
  57. pop "BURST" colored {_color} at location 20 east of loop-value
  58. pop "BURST" colored {_color} at location 20 west of loop-value
  59. pop "BURST" colored {_color} at location 20 south of loop-value
  60.  
  61. pop "BURST" colored {_color} at location 30 north of loop-value
  62. pop "BURST" colored {_color} at location 30 east of loop-value
  63. pop "BURST" colored {_color} at location 30 west of loop-value
  64. pop "BURST" colored {_color} at location 30 south of loop-value
  65.  
  66. if {_loopnum} is greater than 10:
  67. pop "BURST" colored {_color} at loop-value # #! {team.color::%shooter%}
  68. wait 1 ticks
Advertisement
Add Comment
Please, Sign In to add comment