Guest User

Untitled

a guest
May 11th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #Sandbags - IncisionUHC - PaperLightz
  2.  
  3. command /sandbags [<text>]:
  4. permission: skript.host
  5. permission message: &cSorry, but you do not have the required permission to run this command.
  6. trigger:
  7. if arg-1 is "enable" or "on":
  8. set {sandbags} to true
  9. stop
  10. else if arg-1 is "disable" or "off":
  11. delete {sandbags}
  12. stop
  13. else:
  14. message "§cCorrect Usage: §e/sandbags <enable/disable>"
  15.  
  16. on projectile hit:
  17. projectile is arrow:
  18. loop blocks in radius 2 around the event-projectile:
  19. loop-block is not sand or gravel:
  20. drop loop-block at (location .5 above loop-block)
  21. set loop-block to air
Advertisement
Add Comment
Please, Sign In to add comment