execute as @e[type=interaction,tag=tobie] on attacker at @s run function main:hub/objects/dummy/spawn/tobie
execute as @e[type=interaction,tag=many_tobie] on attacker at @s run function main:hub/objects/dummy/spawn/many_tobie
execute as @e[type=interaction,tag=dummies] on attacker at @s run function main:hub/objects/dummy/spawn/dummies

execute as @e[type=interaction,tag=launcher_on] on attacker at @s run function main:hub/objects/dummy/launcher_on
execute as @e[type=interaction,tag=launcher_off] on attacker at @s run function main:hub/objects/dummy/launcher_off
execute as @e[type=interaction,tag=speed] on attacker at @s run function main:hub/objects/dummy/speed

#launcher
execute if score .launcher hub matches ..20 run scoreboard players add .launcher hub 1
execute as @e[type=armor_stand,tag=launcher_aim] at @s run function main:hub/objects/dummy/tick_1
execute if score .launcher hub matches 20.. run scoreboard players set .launcher hub 0

execute as @e[type=block_display,tag=id1_throw] at @s run function main:game/mobs/ai/projectile/throw_flight {"id":id1,"particle":crit,"hitbox":"~-0.5 ~-0.5 ~-0.5","dx":"dx=0,dy=0,dz=0","damage":25,"enemy_id":1,"speed":20,"lifetime":120,"homing":0,"homing_duration":"0","gravity":0,"gravity_strength":0}