nunonuno_riku

Untitled

Mar 16th, 2018
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on damage:
  2.   attacker is a player
  3.   attacker is sneaking
  4.   projectile is arrow
  5.   attacker has cobweb
  6.   set {_webloc} to location of victim
  7.   if block at {_webloc} is air:
  8.     set block at {_webloc} to cobweb
  9.   if block 1 blocks northwest of {_webloc} is air:
  10.     set block 1 blocks northwest of {_webloc} to cobweb
  11.   if block 1 blocks northeast of {_webloc} is air:
  12.     set block 1 blocks northeast of {_webloc} to cobweb
  13.   if block 1 blocks southwest of {_webloc} is air:
  14.     set block 1 blocks southwest of {_webloc} to cobweb
  15.   if block 1 blocks southeast of {_webloc} is air:
  16.     set block 1 blocks southeast of {_webloc} to cobweb
  17.   if block 1 blocks north of {_webloc} is air:
  18.     set block 1 blocks north of {_webloc} to cobweb
  19.   if block 1 blocks east of {_webloc} is air:
  20.     set block 1 blocks east of {_webloc} to cobweb
  21.   if block 1 blocks south of {_webloc} is air:
  22.     set block 1 blocks south of {_webloc} to cobweb
  23.   if block 1 blocks west of {_webloc} is air:
  24.     set block 1 blocks west of {_webloc} to cobweb
  25.   remove a cobweb from attacker
  26.   wait 4 second
  27.   if block at {_webloc} is cobweb:
  28.     set block at {_webloc} to air
  29.   if block 1 blocks northwest of {_webloc} is cobweb:
  30.     set block 1 blocks northwest of {_webloc} to air
  31.   if block 1 blocks northeast of {_webloc} is cobweb:
  32.     set block 1 blocks northeast of {_webloc} to air
  33.   if block 1 blocks southwest of {_webloc} is cobweb:
  34.     set block 1 blocks southwest of {_webloc} to air
  35.   if block 1 blocks southeast of {_webloc} is cobweb:
  36.     set block 1 blocks southeast of {_webloc} to air
  37.   if block 1 blocks north of {_webloc} is cobweb:
  38.     set block 1 blocks north of {_webloc} to air
  39.   if block 1 blocks east of {_webloc} is cobweb:
  40.     set block 1 blocks east of {_webloc} to air
  41.   if block 1 blocks south of {_webloc} is cobweb:
  42.     set block 1 blocks south of {_webloc} to air
  43.   if block 1 blocks west of {_webloc} is cobweb:
  44.     set block 1 blocks west of {_webloc} to air
Add Comment
Please, Sign In to add comment