#hitbox spawn, teleport to face, distance
$execute at @s positioned ~ ~1.25 ~ run summon block_display ~ ~ ~ {teleport_duration:1,Tags:["$(id)_$(character)_$(type)_projectile_newborn","speed_newborn","projectile"$(tags)],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[$(translation)],scale:[$(size)]},block_state:{Name:"$(texture)"}}

$execute at @s positioned ^ ^$(position) ^ rotated $(x) $(y) as @e[type=block_display,tag=$(id)_$(character)_$(type)_projectile_newborn,tag=!$(id)_projectile] run teleport @s ^ ^ ^ $(angle_1) $(angle_2)

$execute as @e[type=block_display,tag=$(id)_$(character)_$(type)_projectile_newborn] run tag @s add $(id)_$(character)_$(type)_projectile

$execute as @e[type=block_display,tag=$(id)_$(character)_$(type)_projectile_newborn] at @s run scoreboard players set @s projectile $(distance)

$execute as @e[type=#main:not_enemies,tag=$(id)_$(character)_$(type)_projectile_newborn] at @s run scoreboard players set @s pierce $(pierce)

$execute as @e[type=block_display,tag=$(id)_$(character)_$(type)_projectile] run tag @s remove $(id)_$(character)_$(type)_projectile_newborn