#execute if entity @p[predicate=survivalplus:has_multishot] run tag @n[type=#arrows,limit=3] add velocitybullet
#execute if entity @p[predicate=!survivalplus:has_multishot] run tag @n[type=#arrows] add velocitybullet
tag @s add velocitybullet
playsound entity.generic.explode player @a ~ ~1 ~ .8 1.5
tag @n[predicate=survivalplus:gun/sniper] add ignoredmg
execute on vehicle run tag @s add ignoredmg
execute as @n[predicate=survivalplus:gun/sniper] at @s anchored eyes run function survivalplus:tools/archer/arrow/velocitybullet
execute as @n[predicate=survivalplus:gun/sniper] at @s if entity @s[type=player] run tp @s ~ ~ ~ ~ ~-6
#execute as @p at @s run function survivalplus:tools/archer/crossbow/horizontalrecoil