tag @s add shotgunbullet
execute at @s run playsound entity.generic.explode player @a ~ ~ ~ 1 1.2
tag @n[predicate=survivalplus:gun/shotgun] add ignoredmg
execute on vehicle run tag @s add ignoredmg
execute as @n[predicate=survivalplus:gun/shotgun] at @s anchored eyes run function survivalplus:tools/archer/arrow/shotgunbullet
execute as @n[predicate=survivalplus:gun/shotgun] at @s anchored eyes run function survivalplus:tools/archer/crossbow/shotgun_spray
execute as @n[predicate=survivalplus:gun/shotgun] at @s run tp @s ~ ~ ~ ~ ~-5
kill @e[tag=shotgunbullet]
#execute as @p at @s run function survivalplus:tools/archer/crossbow/horizontalrecoil