Advertisement
Guest User

SelectFire

a guest
Jun 9th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. options:
  2.  
  3. P: <cyan>[<gray>UHC<cyan>]
  4.  
  5. command /selectfire <text>:
  6. permission: skript.op
  7. aliases: /sf, /sfire
  8. trigger:
  9. if arg-1 is "on":
  10. set {SelectFire} to true
  11. broadcast "{@P} <light red>Select Fire Enabled"
  12. if arg-1 is "off":
  13. delete {SelectFire}
  14. broadcast "{@P} <light red>Select Fire Disabled"
  15.  
  16.  
  17. on left click with bow:
  18. {SelectFire} is true
  19. add 1 to {bowmode.%player%}
  20. if {bowmode.%player%} is 1:
  21. message "{@P} <gold>FLAME MODE" to the player
  22. if {bowmode.%player%} is 2:
  23. message "{@P} <gold>TNT MODE" to the player
  24. if {bowmode.%player%} is 3:
  25. message "{@P} <gold>CREEPER MODE" to the player
  26. if {bowmode.%player%} is 4:
  27. message "{@P} <gold>FIREBALL MODE" to the player
  28. if {bowmode.%player%} is larger than 4:
  29. set {bowmode.%player%} to 1
  30. message "{@P} <gold>FLAME MODE" to the player
  31.  
  32. on shoot:
  33. {SelectFire} is true
  34. shooter is a player
  35. projectile is an arrow
  36. if {bowmode.%shooter%} is 1:
  37. ignite the projectile
  38. if {bowmode.%shooter%} is 2:
  39. cancel the event
  40. make the shooter shoot a primed TNT with speed 3
  41. if {bowmode.%shooter%} is 3:
  42. cancel the event
  43. make the shooter shoot a creeper with speed 3
  44. if {bowmode.%shooter%} is 4:
  45. cancel the event
  46. make the shooter shoot a fireball with speed 1.5
  47.  
  48. on death of a chicken:
  49. {SelectFire} is true
  50. remove all feathers from drops
  51.  
  52. on mine:
  53. {SelectFire} is true
  54. block is coal ore
  55. chance of 10%
  56. drop 1 arrow at location of the block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement