Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- attacker is a player
- attacker is sneaking
- projectile is arrow
- attacker has cobweb
- set {_webloc} to location of victim
- if block at {_webloc} is air:
- set block at {_webloc} to cobweb
- if block 1 blocks northwest of {_webloc} is air:
- set block 1 blocks northwest of {_webloc} to cobweb
- if block 1 blocks northeast of {_webloc} is air:
- set block 1 blocks northeast of {_webloc} to cobweb
- if block 1 blocks southwest of {_webloc} is air:
- set block 1 blocks southwest of {_webloc} to cobweb
- if block 1 blocks southeast of {_webloc} is air:
- set block 1 blocks southeast of {_webloc} to cobweb
- if block 1 blocks north of {_webloc} is air:
- set block 1 blocks north of {_webloc} to cobweb
- if block 1 blocks east of {_webloc} is air:
- set block 1 blocks east of {_webloc} to cobweb
- if block 1 blocks south of {_webloc} is air:
- set block 1 blocks south of {_webloc} to cobweb
- if block 1 blocks west of {_webloc} is air:
- set block 1 blocks west of {_webloc} to cobweb
- remove a cobweb from attacker
- wait 4 second
- if block at {_webloc} is cobweb:
- set block at {_webloc} to air
- if block 1 blocks northwest of {_webloc} is cobweb:
- set block 1 blocks northwest of {_webloc} to air
- if block 1 blocks northeast of {_webloc} is cobweb:
- set block 1 blocks northeast of {_webloc} to air
- if block 1 blocks southwest of {_webloc} is cobweb:
- set block 1 blocks southwest of {_webloc} to air
- if block 1 blocks southeast of {_webloc} is cobweb:
- set block 1 blocks southeast of {_webloc} to air
- if block 1 blocks north of {_webloc} is cobweb:
- set block 1 blocks north of {_webloc} to air
- if block 1 blocks east of {_webloc} is cobweb:
- set block 1 blocks east of {_webloc} to air
- if block 1 blocks south of {_webloc} is cobweb:
- set block 1 blocks south of {_webloc} to air
- if block 1 blocks west of {_webloc} is cobweb:
- set block 1 blocks west of {_webloc} to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement