Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #|---------|INFORMATION|---------|#
  2. # Script name: Bomb gun
  3. # Script author: MrNixa
  4. # Script version: 0.1
  5. #|---------|OPTIONS|---------|#
  6. options:
  7. prefix: &a[Bomb Gun]
  8. #|---------|COMMANDS|---------|#
  9. command /BombGun:
  10. aliases: /bg
  11. trigger:
  12. give player 1 blaze rod named "&c&lBomb Gun" with lore "||&7Right click to use this gadget"
  13. message "{@prefix} &rYou have recieved 1 &aBomb Gun"
  14. #|---------|CODE|---------|#
  15. on right click holding blaze rod:
  16. if world is "world": #put the worldname in "" to enable this feature in certan worlds, now its in every world.
  17. loop 25 times:
  18. make player shoot snowball at speed 2
  19. add north, south, east, west, up and down to {_sowballdirection::*}
  20. loop 3 times:
  21. remove random element out of {_snowballirection::*} from {_snowballdirection::*}
  22. loop {_snowballdirection::*}:
  23. push last shot projectile loop-value-2 at speed random number between 0.05 and 0.1
  24.  
  25. on projectile hit:
  26. create a fake explosion at the event-location
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement