Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /scoreboard objectives add rotation dummy rotation
- /scoreboard objectives add impulsetime dummy impulsetime
- /scoreboard objectives add tijd dummy tijd
- scoreboard players set @e rotation 0
- execute as @e at @s if entity @e[type=armor_stand,limit=1,dx=4,dz=0,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 1
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=3,dz=1,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 2
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-0.5,dz=4,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 4
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=1,dz=3,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 3
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-2,dz=3,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 5
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-4,dz=-0.5,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 7
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-3,dz=2,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 6
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-3,dz=-2,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 8
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=0,dz=-4,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 10
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=-2,dz=-3,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 9
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=1,dz=-3,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 11
- execute as @e[scores={rotation=0}] at @s if entity @e[type=armor_stand,limit=1,dx=3,dz=-2,name=impulse] run scoreboard players set @e[name=!impulse,distance=..1,limit=1] rotation 12
- execute as @a[scores={rotation=1,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[-3.0,2.0,0.0],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=2,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[-2.6,2.0,-1.5],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=3,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[-1.5,2.0,-2.6],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=4,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[0.0,2.0,-3.0],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=5,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[1.5,2.0,-2.6],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=6,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[2.6,2.0,-1.5],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=7,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[3.0,2.0,0.0],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=8,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[2.6,2.0,1.5],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=9,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[1.5,2.0,2.6],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=10,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[0.0,2.0,3.0],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=11,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[-1.5,2.0,2.6],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={rotation=12,tijd=59}] at @s run summon minecraft:armor_stand ~ ~ ~ {Motion:[-2.6,2.0,1.5],CustomName:"{\"text\":\"launch\"}",Invulnerable:1b,Invisible:1b}
- execute as @a[scores={tijd=57}] run kill @e[name=impulse]
- scoreboard players set @e[name=impuls] impulsetime 0
- /data merge entity @e[name=impuls,limit=1] {CustomName:"{\"text\":\"impuls2\"}"}
- scoreboard players set @e[name=impuls2,scores={impulsetime=0}] impulsetime 20
- scoreboard players remove @e[name=impuls2,scores={impulsetime=1..}] impulsetime 1
- execute as @e[name=impulse,scores={impulsetime=4}] run kill @e[name=impulse,limit=1]
- /data merge entity @e[name=impuls2,limit=1,scores={impulsetime=6}] {CustomName:"{\"text\":\"impulse\"}"}
- /scoreboard players set @e[scores={rotation=1..,tijd=..0}] tijd 60
- scoreboard players remove @e[scores={tijd=0..}] tijd 1
- /execute as @e[name=launch,limit=1] at @s run tp @a[distance=..4] ^ ^ ^
- execute as @e[name=impulse] at @s run kill @e[type=snowball,distance=..3]
- /kill @e[name=launch,nbt={OnGround:1b}]
- /execute as @e[type=snowball] at @s unless block ~ ~-1 ~ minecraft:air run summon armor_stand ~ ~ ~ {CustomName:"{\"text\":\"impuls\"}",Invulnerable:1b,Invisible:1b}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement