Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Mlot Hefajstosa
- on rightclick:
- if tool of player is {wvsp.kit::hefajstos}:
- set {czas::%player%::hef1} to difference between {uzycie::%player%::hef1} and now
- if {czas::%player%::hef1} is less than 15 seconds:
- send "&c&lMlota mozesz uzyc ponownie za &b%difference between 15 seconds and {czas::%player%::hef1}%" to player
- else:
- if player is sneaking:
- set {uzycie::%player%::hef1} to now
- set {_loc} to location of player
- drawDot count 7, particle "flame", XYZ 0.4, 0.2, 0.4, center {_loc}, visibleRange 100, keepFor 1 tick
- create safe explosion of force 2 at location 3.5 meters below {_loc}
- loop all living entities in radius 6 of player:
- name of loop-entity is not "%player%": #{potwor::%loop-entity} is not true
- push loop-entity (direction from player to loop-entity) at speed 2.5
- push loop-entity upwards at velocity 0.7
- if loop-entity has slowness:
- apply blindness to loop-entity for 4 seconds
- else:
- apply slowness 2 to loop-entity for 8 seconds
- apply blindness to loop-entity for 4 seconds
- set {_radius} to 1
- set {_id} to 1
- set {_density} to 13
- loop 4 times:
- drawWarpRings style 4, particle "smoke", XYZ 0.1, 0.1, 0.1, center {_loc}, id "%player%.hef.%{_id}%", rainbowMode true, scan false, height 2.5, radius {_radius}, ringCount 1, ringDensity {_density}, visibleRange 100
- increase {_radius} by 1
- increase {_id} by 1
- increase {_density} by 9
- wait 2 ticks
- drawWarpRings style 4, particle "flame", XYZ 0.1, 0.1, 0.1, center {_loc}, id "%player%.hef.%{_id}%", rainbowMode true, scan false, height 2.5, radius {_radius}, ringCount 1, ringDensity {_density}, visibleRange 100
- set {_id} to 1
- wait 2 ticks
- loop 4 times:
- stopEffect id "%player%.hef.%{_id}%"
- increase {_id} by 1
- wait 2 ticks
- wait 3 ticks
- stopEffect id "%player%.hef.5"
- else:
- send "&cAby uzyc Mlota musisz kucnac!" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement