Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on left click:
- if player is holding bow:
- if {eshot.%player%} is true:
- if {cooldown.%player%} is false:
- shoot arrow from player at speed 2
- set {explode.%player%} to true
- set {cooldown.%player%} to true
- wait 3 seconds
- set {cooldown.%player%} to false
- if {cooldown.%player%} isn't set:
- set {cooldown.%player%} to false
- if {cooldown.%player%} is true:
- if {eshot.%player%} is true:
- message "&4you have to wait for %{cooldown.%player%}% seconds"
- stop
- on projectile hit:
- if projectile is an arrow:
- if {explode.%shooter%} is true:
- create a safe explosion of force 2 at projectile
- set {explode.%shooter%} to false
- delete projectile
- stop
- on left click:
- if player is holding bow:
- if {sshot.%player%} is true:
- if{cooldown2.%player%} is false:
- shoot arrow from player at speed 2
- set {stun.%player%} to true
- set {cooldown2.%player%} to true
- wait 10 seconds
- set {cooldown2.%player%} to true
- if {cooldown2.%player%} isn't set:
- set {cooldown2.%player%} to false
- if {cooldown2.%player%} is true:
- if {sshot.%player%} is true:
- message "&4you have to wait for %{cooldown.%player%}% seconds"
- stop
- on damage:
- if event-projectile is arrow:
- if {sshot.%attacker%} is true:
- apply jump boost 128 for 2 seconds to victim
- apply slowness 127 for 2 seconds to victim
- apply weakness 128 for 2 seconds to victim
- on join:
- set {explode.%player%} to false
- set {cooldown.%player%} to false
- set {cooldown2.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement