
the command i am using right now is this one:
/execute positioned ~ ~7 ~ run execute if entity @a[team=Player01,distance=..5]
the problem is that the área is not a square, so it does not detect the player in the corners of a 5 blocks radius square.
i tried this to fix the problem:
/execute po...