execute as @e[dx=0,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 25 arrow by @n[tag=bigarrow]
execute if entity @e[dx=0,nbt={HurtTime:10s}] positioned ~-0.99 ~-0.99 ~-0.99 if entity @e[dx=0,nbt={HurtTime:10s}] run playsound minecraft:entity.arrow.hit neutral @a ~ ~ ~
execute if entity @e[dx=0,nbt={HurtTime:10s}] positioned ~-0.99 ~-0.99 ~-0.99 if entity @e[dx=0,nbt={HurtTime:10s}] run kill @s

#execute if entity @e[dx=0] positioned ~-0.99 ~-0.99 ~-0.99 if entity @e[dx=0] run damage @n[dx=0,type=!#survivalplus:notalive] 30 arrow by @s
#execute if entity @e[dx=0] positioned ~-0.99 ~-0.99 ~-0.99 if entity @e[dx=0,type=!#survivalplus:notalive,nbt={HurtTime:10s}] run tag @s add hittarget
#execute if entity @e[dx=0] positioned ~-0.99 ~-0.99 ~-0.99 if entity @e[dx=0] run playsound minecraft:entity.arrow.hit neutral @a ~ ~ ~ 2 .8

scoreboard players add @s timer 1
execute if score @s timer matches 50 run kill @s
execute if entity @s[tag=!inground] positioned ^ ^ ^1 unless block ~ ~ ~ #survivalplus:nobounce run playsound item.shield.block neutral @a ~ ~ ~ 1 .8
execute if entity @s[tag=!inground] positioned ^ ^ ^1 unless block ~ ~ ~ #survivalplus:nobounce run playsound minecraft:entity.arrow.hit neutral @a ~ ~ ~ 2 .8
execute positioned ^ ^ ^1 unless block ~ ~ ~ #survivalplus:nobounce run tag @s add inground
execute positioned ^ ^ ^1 if block ~ ~ ~ #survivalplus:nobounce run tp @s ^ ^ ^.5 ~ ~1
execute positioned ^ ^ ^2 if block ~ ~ ~ #survivalplus:nobounce run tp @s ^ ^ ^1 ~ ~1
execute positioned ^ ^ ^3 if block ~ ~ ~ #survivalplus:nobounce run tp @s ^ ^ ^1.5 ~ ~1
#tp @s ^ ^ ^3 ~ ~.4