execute as @s run execute store result score @s PosX run data get entity @s Pos[0]
execute as @s run execute store result score @s PosY run data get entity @s Pos[1] 100
execute as @s run execute store result score @s PosZ run data get entity @s Pos[2]

execute as @s run execute store result score @s PosXTemp run data get entity @p[tag=CadVolleyP] Pos[0]
execute as @s run execute store result score @s PosYTemp run data get entity @p[tag=CadVolleyP] Pos[1] 100
execute as @s run execute store result score @s PosZTemp run data get entity @p[tag=CadVolleyP] Pos[2]

execute as @s run scoreboard players operation @s PosXTemp -= @s PosX
execute as @s run scoreboard players operation @s PosYTemp -= @s PosY
execute as @s run scoreboard players operation @s PosZTemp -= @s PosZ

