execute positioned ~ ~1.55 ~ run item replace entity @n[tag=ballista] container.0 with crossbow
playsound minecraft:item.crossbow.shoot neutral @a ~ ~ ~ 2 .8
execute positioned ~ ~1.7 ~ run item replace entity @n[tag=balarrow] container.0 with air

#execute positioned ~ ~1.7 ~ run function survivalplus:tools/trap/ballista/create_arrow
execute positioned ~ ~1.55 ~ run function survivalplus:tools/trap/ballista/laser

scoreboard players set @s timer -20
tag @s add reloading