Advertisement
Mirage-Skripter

《Apex Legends》Horizon Ult

Jun 24th, 2021
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. on shoot:
  2. shooter is a player
  3. "%projectile%" is "snowball"
  4. set metadata value "blackhole" of projectile to true
  5.  
  6. on projectile hit:
  7. metadata value "blackhole" of projectile is true
  8. spawn armor stand at event-location
  9. set {_entity} to last spawned armor stand
  10. add "{Marker:true, Invisible:true, NoGravity:true}" to entity-nbt of {_entity}
  11. set helmet of {_entity} to coal block
  12. set {_x} to x-coordinate of event-location
  13. set {_y} to y-coordinate of event-location
  14. set {_z} to z-coordinate of event-location
  15. sound({_entity})
  16. loop 3 times:
  17. loop 360 times:
  18. show water drip at location {_x}+7*sin(loop-number-2), {_y}, {_z}+7*cos(loop-number-2)
  19. wait 1 second
  20. horizon({_entity})
  21. wait 12 second
  22. kill {_entity}
  23.  
  24. function sound(entity: entity):
  25. set {_pitch} to 0
  26. loop 30 times:
  27. play sound "entity.player.levelup" at pitch {_pitch} at {_entity}
  28. add 0.05 to {_pitch}
  29. wait 2 tick
  30.  
  31. function horizon(entity: entity):
  32. set {_loc} to location of {_entity}
  33. while {_entity} is alive:
  34. show 10 water drip at {_entity}
  35. play sound "item.elytra.flying" at pitch 1 at {_entity}
  36. loop all entities in radius 7 around {_entity}:
  37. loop-entity is not {_entity}
  38. set {_vector} to vector between loop-entity and {_loc} normalized
  39. push loop-entity {_vector} at speed 0.02
  40. wait 1 tick
  41. stop sound "item.elytra.flying" for all players
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement