Is there an alternative to magnitude?

You can check if the player is within that magnitude and also within whatever x or y axis.

There is a more complex and reliable way to do this but it would require you to use raycasting and region3, well there is already a module which handles that : Zone+ v1 (deprecated) | Retrieving players within an area/zone

Just shape your zone part how you wanted it.