Advertisement
Guest User

punchbags

a guest
May 24th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. options:
  2.  
  3. P: <cyan>[<gray>UHC<cyan>]
  4.  
  5. command /punchingbags <text>:
  6. usage: /punchingbags <on/off>
  7. permission: skript.op
  8. aliases: /pb, /pbags
  9. trigger:
  10. if arg-1 is "on":
  11. set {PunchingBags} to true
  12. broadcast "{@P} <gold>Punching Bags Enabled"
  13. wait 15 minutes
  14. delete {PunchingBags}
  15. broadcast "{@P} <gold>Punching Bags Disabled"
  16.  
  17. if arg-1 is "off":
  18. delete {PunchingBags}
  19. broadcast "{@P} <gold>Punching Bags Disabled"
  20.  
  21. on damage:
  22. {PunchingBags} is true
  23. damage cause is player
  24. attacker isn't holding an item
  25. cancel the event
  26. push the victim backwards at speed .7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement