Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click with torch:
- spawn an armor stand at player
- set {_a} to last spawned armor stand
- set {_loc} to location 1 meter above location of {_a}
- add "{CustomName:""."",CustomNameVisible:1b,Invisible:1b,Marker:1b,NoGravity:1b}" to nbt of {_a}
- loop 100 times:
- set {_loc} to location 1 meter forwards {_loc}
- show 10 flame particles at {_a} offset by 0, 0, 0
- show 10 spell particles at {_a} offset by 0, 0, 0
- loop all players:
- play sound "BLOCK_IRON_TRAPDOOR_OPEN" to loop-player with volume 1 and pitch 1
- teleport {_a} to {_loc}
- set {_locc} to location of {_a}
- loop all entities in radius 2 around {_a}:
- loop-entity is not player
- loop-entity is not armor stand
- set {_t} to location of loop-entity
- if {_t} is set:
- target(last spawned armor stand, location of loop-entity)
- stop
- wait 1 tick
- kill {_a}
- loop all players:
- play sound "BLOCK_LAVA_EXTINGUISH" to loop-player with volume 1 and pitch 1
- function target(ar: entity, t: location):
- set {_l} to location of {_ar}
- loop 20 times:
- set {_l} to location 2 meter up {_l}
- show 10 flame particles at {_ar} offset by 0, 0, 0
- show 10 spell particles at {_ar} offset by 0, 0, 0
- show 10 slime particles at {_ar} offset by 0, 0, 0
- show 10 cloud particles at {_ar} offset by 0, 0, 0
- loop all players:
- play sound "BLOCK_DISPENSER_FAIL" to loop-player with volume 1 and pitch 1
- play sound "BLOCK_LAVA_EXTINGUISH" to loop-player with volume 1 and pitch 1
- teleport {_ar} to {_l}
- wait 2 tick
- loop 60 times:
- set {_tp} to location 1 meter under {_ar}
- teleport {_ar} to {_tp}
- show 10 flame particles at {_ar} offset by 0, 0, 0
- show 10 spell particles at {_ar} offset by 0, 0, 0
- show 10 slime particles at {_ar} offset by 0, 0, 0
- show 10 cloud particles at {_ar} offset by 0, 0, 0
- loop all players:
- play sound "ENTITY_PLAYER_LEVELUP" to loop-player with volume 1 and pitch 1
- loop all blocks in radius 1 around {_ar}:
- loop-block is not air
- create fake explosion at {_ar}
- loop all entities in radius 7 around {_ar}:
- loop-entity is not armor stand
- kill loop-entity
- kill {_ar}
- stop
- wait 1 tick
- kill {_ar}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement