I have this problem where when I use a command to select a player outside a cubic area, the command doesn’t work. I’ve tried many ways, including
/effect @a[x=!-32,y=!0,z=!-42,dx=!75,dy=!256,dz=!75] poison 1 0
/effect @a[x=!-32,y=!0,z=!-42,dx=75,dy=256,dz=75] poison 1 0
and
/effect @a[x=-32,y=0,z=-42,dx=!75,dy=!256,dz=!75] poison 1 0
but none of them work. Nothing on YouTube had any good answers to that, either. Is there a way to fix this problem? Thanks