Advertisement
Guest User

Untitled

a guest
Mar 12th, 2021
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. #Mlot Hefajstosa
  2. on rightclick:
  3. if tool of player is {wvsp.kit::hefajstos}:
  4. set {czas::%player%::hef1} to difference between {uzycie::%player%::hef1} and now
  5. if {czas::%player%::hef1} is less than 20 seconds:
  6. send "&c&lMlota mozesz uzyc ponownie za &b%difference between 20 seconds and {czas::%player%::hef1}%"
  7. else:
  8. if player is sneaking:
  9. if targeted block is set:
  10. set {uzycie::%player%::hef1} to now
  11. if distance between player and targeted block is less than 15:
  12. set {_target} to targeted block
  13. else:
  14. set {_target} to block 15 meters in front of player
  15. spawn armor stand at location 5 meters above {_target} with nbt "{NoGravity:1,Invisible:1,DisabledSlots:65793,Pose:{Body:[270f,0f,0f]}}"
  16. set {_mlot} to spawned entity
  17. set tool of {_mlot} to wooden axe
  18. drawDot count 15, particle "cloud", XYZ 0.9, 0.7, 0.9, center location of {_mlot}'s head, visibleRange 100, keepFor 3 ticks
  19. drawDot count 10, particle "flame", XYZ 0.6, 0.6, 0.6, center location of {_mlot}'s head, visibleRange 100, keepFor 2 ticks
  20. wait 0.8 seconds
  21. add "{NoGravity:0}" to nbt of {_mlot}
  22. set no clip state of {_mlot} to true
  23. while block at {_mlot} is air or tall grass or water:
  24. drawdot count 5, particle "suspenddepth", XYZ 0.1, 0.1, 0.1, center location of {_mlot}'s head, visibleRange 100, keepFor 1 tick
  25. wait 1 tick
  26. set no clip state of {_mlot} to false
  27. add "{NoGravity:1}" to nbt of {_mlot}
  28. create safe explosion of force 2 at location 1 meter below {_mlot}
  29. wait 1 tick
  30. drawDot count 7, particle "flame", XYZ 0.4, 0.2, 0.4, center location 0.3 meters above {_mlot}, visibleRange 100, keepFor 1 tick
  31. loop all living entities in radius 5 of {_mlot}:
  32. apply blindness to loop-entity for 4 seconds
  33. apply slowness 2 to loop-entity for 7 seconds
  34. set {_loc} to location 0.25 meters above {_mlot}
  35. set {_radius} to 1
  36. set {_id} to 1
  37. set {_density} to 13
  38. loop 5 times:
  39. drawWarpRings style 4, particle "smoke", XYZ 0.1, 0.1, 0.1, center {_loc}, id "%player%.hef.%{_id}%", rainbowMode false, scan false, height 2.5, radius {_radius}, ringCount 1, ringDensity {_density}, visibleRange 100
  40. increase {_radius} by 1
  41. increase {_id} by 1
  42. increase {_density} by 9
  43. wait 2 ticks
  44. set {_id} to 1
  45. wait 2 ticks
  46. loop 5 times:
  47. stopEffect id "%player%.hef.%{_id}%"
  48. increase {_id} by 1
  49. wait 3 ticks
  50. wait 1 second
  51. drawDot count 7, particle "cloud", XYZ 0.5, 0.5, 0.5, center location of {_mlot}'s head, visibleRange 100, keepFor 1 tick
  52. kill {_mlot}
  53. else:
  54. send "&cMusisz trafić w blok!"
  55. else:
  56. send "&cAby uzyc Mlota musisz trzymać shifta!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement