Advertisement
Guest User

Mlot Hefa v2

a guest
Apr 14th, 2021
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. on rightclick:
  2. if name of player's tool is "Mlot hefajstosa":
  3. set {czas.topor.%player%} to difference between {uzycie.topor.%player%} and now
  4. if {czas.topor.%player%} is less than 15 seconds:
  5. send "&ePrzykro mi, ale mozesz uzyc topora dopiero za &c&l%difference between 15 seconds and {czas.topor.%player%}%"
  6. else:
  7. set {uzycie.topor.%player%} to now
  8. loop all entities in radius 5 of player:
  9. if name of loop-entities is not "%player%":
  10. push loop-entities in direction of player at speed 1.2
  11. push loop-entities upwards at velocity 0.6
  12. set {_loc} to location 0.1 meters below player
  13. set {_rad} to 0.5
  14. set {_id} to 1
  15. set {_density} to 2
  16. loop 6 times:
  17. 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
  18. increase {_rad} by 0.6
  19. increase {_id} by 1
  20. increase {_density} by 1
  21. wait 1 tick
  22. set {_loc} to location 0.1 meters above {_loc}
  23. set {_density} to 12
  24. set {_rad} to 0.6
  25. loop 7 times:
  26. 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
  27. increase {_rad} by 0.6
  28. increase {_id} by 1
  29. wait 1 tick
  30. set {_id} to 1
  31. wait 1 tick
  32. loop 12 times:
  33. stopEffect id "%player%.topor.%{_id}%"
  34. increase {_id} by 1
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement