Advertisement
Guest User

Select Fire Skript

a guest
Jun 17th, 2014
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. variables:
  2. {bowmode.%player%} = 0
  3.  
  4. command /40hearts:
  5. permission: skript.op
  6. trigger:
  7. loop all players:
  8. set maximum health of loop-player to 40
  9. heal all players
  10.  
  11. on left click with bow:
  12. add 1 to {bowmode.%player%}
  13. if {bowmode.%player%} is 1:
  14. message "<gold>FLAME MODE" to the player
  15. if {bowmode.%player%} is 2:
  16. message "<gold>TNT MODE" to the player
  17. if {bowmode.%player%} is 3:
  18. message "<gold>CREEPER MODE" to the player
  19. if {bowmode.%player%} is 4:
  20. message "<gold>FIREBALL MODE" to the player
  21. if {bowmode.%player%} is larger than 4:
  22. set {bowmode.%player%} to 1
  23. message "<gold>FLAME MODE" to the player
  24.  
  25. on shoot:
  26. shooter is a player
  27. projectile is an arrow
  28. if {bowmode.%shooter%} is 1:
  29. ignite the projectile
  30. if {bowmode.%shooter%} is 2:
  31. cancel the event
  32. make the shooter shoot a primed TNT with speed 3
  33. if {bowmode.%shooter%} is 3:
  34. cancel the event
  35. make the shooter shoot a creeper with speed 3
  36. if {bowmode.%shooter%} is 4:
  37. cancel the event
  38. make the shooter shoot a fireball with speed 1.5
  39.  
  40. on death of a chicken:
  41. remove all feathers from drops
  42.  
  43. on mine of coal ore:
  44. chance of 10%:
  45. drop 1 arrow at the block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement