Daltonez

Vortex - Skript by Daltonez for skript.pl

Oct 1st, 2016
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. # Nazwa: VortexRod
  2. # Autor: DaltonEZ
  3. # Wersja: 1.0
  4.  
  5. # Zakaz usuwanie podpisu autora skriptu.
  6. # Zakaz podpisywania skriptu wlasnym nickiem.
  7.  
  8. variables:
  9. {vortex::%player%} = true
  10. {fireball::%player%} = 0
  11. {upadek::%player%} = true
  12.  
  13. on rightclick:
  14. if player's tool is blaze rod named "&bVortex" with lore "&8*ppm* Lot feniksa||&8*lpm* Ognista kula":
  15. if {vortex::%player%} is true:
  16. push the player upwards at velocity 2
  17. push the player horizontally forward at speed 20
  18. set {vortex::%player%} to false
  19. set {upadek::%player%} to false
  20. wait 10 second
  21. set {upadek::%player%} to true
  22. wait 50 second
  23. set {vortex::%player%} to true
  24. else:
  25. send "&c[&eVortex&c] &7Lot feniksa bedzie aktywny za 60 sec."
  26. on leftclick:
  27. if player's tool is blaze rod named "&bVortex" with lore "&8*ppm* Lot feniksa||&8*lpm* Ognista kula":
  28. if {fireball::%player%} is 0:
  29. make the player shoot an fireball at speed 1
  30. wait a tick
  31. set {fireball::%player%} to 1
  32. stop
  33. if {fireball::%player%} is 1:
  34. make the player shoot an fireball at speed 1
  35. wait a tick
  36. set {fireball::%player%} to 2
  37. wait 30 second
  38. set {fireball::%player%} to 0
  39. if {fireball::%player%} is 2:
  40. send "&c[&eVortex&c] &7Ognista kula bedzie aktywna za 30 sec."
  41. command /vortex:
  42. trigger:
  43. if player has permission "vortex.give":
  44. add blaze rod named "&bVortex" with lore "&8*ppm* Lot feniksa||&8*lpm* Ognista kula" to the player
  45.  
  46. on damage:
  47. damage is caused by fall:
  48. if {upadek::%victim%} is false:
  49. cancel event
  50. on script load:
  51. loop all players:
  52. set {vortex::%loop-player%} to true
  53. set {fireball::%loop-player%} to 0
  54. set {upadek::%loop-player%} to true
Advertisement
Add Comment
Please, Sign In to add comment