Guest User

Untitled

a guest
Mar 11th, 2014
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #= #Bow =#
  2. #= Skript by Fawful55 =#
  3. command /bow <text>:
  4. description: bow Enable:Disable:Toggle
  5. usage: /bow <enable:disable:toggle>
  6. player is op
  7. trigger:
  8. if arg 1 is "enable":
  9. set {bow} to true
  10. message "&a#Bow Enabled"
  11. if arg 1 is "disable":
  12. set {bow} to false
  13. message "&c#Bow Disabled"
  14. if arg 1 is "toggle":
  15. if {bow} is true:
  16. set {bow} to false
  17. message "&c#Bow Disabled"
  18. stop
  19. if {bow} is false:
  20. set {bow} to true
  21. message "&a#Bow Enabled"
  22. stop
  23.  
  24. every second:
  25. if {bow} is true
  26. apply fire resistence to all players for 1 second
  27.  
  28. on damage:
  29. if {bow} is true
  30. damage was caused by contact from entity
  31. entity is player
  32. cancel event
  33.  
  34. on left click of sword:
  35. if {bow} is true
  36. replace %item% with air
  37.  
  38. on craft of sword
  39. if {bow} is true
  40. kick player due to "You may not craft %item%!"
Advertisement
Add Comment
Please, Sign In to add comment