Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. #Kit PVP Skript
  2. #Af Notekri og Jakvi
  3.  
  4. on rightclick:
  5. if player is holding an iron sword named "&9Zoomer":
  6. if {dash.%player%} is true:
  7. send "&cVent med at bruge denne ability" to player
  8. else:
  9. send "&eDASH" to player
  10. set {dash.%player%} to true
  11. push player upwards at speed 0.5
  12. wait 1 ticks
  13. push player in horizontal direction of player at speed 1.5
  14. loop 10 times:
  15. damage all entities in radius 2 around player by 2
  16. wait 2 ticks
  17. wait 8 seconds
  18. set {dash.%player%} to false
  19.  
  20. if player is holding an iron hoe named "&5Switcher":
  21.  
  22. send "&dSwitch shot" to player
  23. make player shoot a snowball at velocity 2
  24. set {switcher.%player%} to true
  25. wait 8 seconds
  26. clear {switcher.%player%}
  27.  
  28. on rightclick on an entity:
  29. if player is holding an iron sword named "&9Zoomer":
  30. if {dash.%player%} is true:
  31. send "&cVent med at bruge denne ability" to player
  32. else:
  33. send "&eDASH" to player
  34. set {dash.%player%} to true
  35. push player upwards at speed 0.5
  36. wait 1 ticks
  37. push player in horizontal direction of player at speed 1.5
  38. loop 10 times:
  39. damage all entities in radius 2 around player by 2
  40. wait 2 ticks
  41. wait 8 seconds
  42. set {dash.%player%} to false
  43.  
  44. if player is holding an iron hoe named "&5Switcher":
  45. send "&dSwitch shot" to player
  46. make player shoot a snowball at velocity 2
  47. set {switcher.%player%} to true
  48. wait 8 seconds
  49. clear {switcher.%player%}
  50.  
  51.  
  52.  
  53.  
  54. on damage:
  55. if projectile is a snowball:
  56. if {switcher.%attacker%} is set:
  57. cancel event
  58. set {_pos} to position of attacker
  59. teleport attacker to victim
  60. teleport victim to {_pos}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement