Advertisement
upoupo0201

Untitled

Mar 19th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on left click:
  2. if player is holding bow:
  3. shoot arrow from player at speed 2
  4. set {explode.%shooter%} to true
  5. set {arrows::%projectile%} to true
  6.  
  7. on projectile hit:
  8. if projectile is an arrow:
  9. if {explode.%shooter%} is true:
  10. create a safe explosion of force 2 at projectile
  11. set {explode.%shooter%} to false
  12. delete {arrows::%projectile%}
  13. delete projectile
  14. stop
  15.  
  16. on join:
  17. set {explode.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement