execute at @s run tag @p[distance=..2,gamemode=!spectator] add EndArrowKyu
execute at @s run execute at @p[distance=..4,gamemode=!spectator,tag=EndArrowKyu] run kill @e[type=arrow,distance=..5,limit=1,tag=EndArrowTP]
scoreboard players set @p[distance=..2,gamemode=!spectator] EndArrowTimer 0
tag @s add EndArrowTP
execute in minecraft:overworld run data merge block 999978 122 999971 {auto:1b}