Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /dajpatyk:
- permission: patyk
- trigger:
- give stick named "&2Patyk" to player
- send "&2Dostales patyk"
- on right click with stick:
- player's tool's name is "&2Patyk":
- make player shoot egg at speed 1.5
- On shoot:
- if projectile is egg:
- shooter's tool's name is "&2Patyk":
- set {patyk.%projectile%} to 1
- on damage:
- if projectile is egg:
- if {patyk.%projectile%} is 1:
- create a fake explosion
- set {patyk.%projectile%} to 0
- On Projectile Hit:
- if projectile is egg:
- if {patyk.%projectile%} is 1:
- set {_a} to location of projectile
- loop blocks in radius 2 around {_a}:
- loop-block is air:
- set loop-blocks to cobweb
- wait 5 second
- loop blocks in radius 2 around {_a}:
- loop-block is cobweb:
- set loop-block to air
- wait 0.2 second
Advertisement
Add Comment
Please, Sign In to add comment