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