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 999998 121 999980 {auto:1b}