Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Kit PVP Skript
- #Af Notekri og Jakvi
- on rightclick:
- if player is holding an iron sword named "&9Zoomer":
- if {dash.%player%} is true:
- send "&cVent med at bruge denne ability" to player
- else:
- send "&eDASH" to player
- set {dash.%player%} to true
- push player upwards at speed 0.5
- wait 1 ticks
- push player in horizontal direction of player at speed 1.5
- loop 10 times:
- damage all entities in radius 2 around player by 2
- wait 2 ticks
- wait 8 seconds
- set {dash.%player%} to false
- if player is holding an iron hoe named "&5Switcher":
- send "&dSwitch shot" to player
- make player shoot a snowball at velocity 2
- set {switcher.%player%} to true
- wait 8 seconds
- clear {switcher.%player%}
- on rightclick on an entity:
- if player is holding an iron sword named "&9Zoomer":
- if {dash.%player%} is true:
- send "&cVent med at bruge denne ability" to player
- else:
- send "&eDASH" to player
- set {dash.%player%} to true
- push player upwards at speed 0.5
- wait 1 ticks
- push player in horizontal direction of player at speed 1.5
- loop 10 times:
- damage all entities in radius 2 around player by 2
- wait 2 ticks
- wait 8 seconds
- set {dash.%player%} to false
- if player is holding an iron hoe named "&5Switcher":
- send "&dSwitch shot" to player
- make player shoot a snowball at velocity 2
- set {switcher.%player%} to true
- wait 8 seconds
- clear {switcher.%player%}
- on damage:
- if projectile is a snowball:
- if {switcher.%attacker%} is set:
- cancel event
- set {_pos} to position of attacker
- teleport attacker to victim
- teleport victim to {_pos}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement