Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- if name of player's tool is "Mlot hefajstosa":
- set {czas.topor.%player%} to difference between {uzycie.topor.%player%} and now
- if {czas.topor.%player%} is less than 15 seconds:
- send "&ePrzykro mi, ale mozesz uzyc topora dopiero za &c&l%difference between 15 seconds and {czas.topor.%player%}%"
- else:
- set {uzycie.topor.%player%} to now
- loop all entities in radius 5 of player:
- if name of loop-entities is not "%player%":
- push loop-entities in direction of player at speed 1.2
- push loop-entities upwards at velocity 0.6
- set {_loc} to location 0.1 meters below player
- set {_rad} to 0.5
- set {_id} to 1
- set {_density} to 2
- loop 6 times:
- drawWarpRings style 1, particle "cloud", center {_loc}, id "%player%.topor.%{_id}%", rainbowMode false, scan false, height 0, radius {_rad}, ringCount 70, ringDensity {_density}, visibleRange 100
- increase {_rad} by 0.6
- increase {_id} by 1
- increase {_density} by 1
- wait 1 tick
- set {_loc} to location 0.1 meters above {_loc}
- set {_density} to 12
- set {_rad} to 0.6
- loop 7 times:
- drawWarpRings style 1, particle "smoke", center {_loc}, id "%player%.topor.%{_id}%", rainbowMode false, scan false, height 0.3, radius {_rad}, ringCount 70, ringDensity {_density}, visibleRange 100
- increase {_rad} by 0.6
- increase {_id} by 1
- wait 1 tick
- set {_id} to 1
- wait 1 tick
- loop 12 times:
- stopEffect id "%player%.topor.%{_id}%"
- increase {_id} by 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement