I have been trying to do this for like 4 hours and no success, i want to know when someone enters a world guard region I created. but I don't know how to detect when a player has entered that zone. What i am trying to do is make so that when a player is inside the zone, they can only use swords. the things i have done is made so projectiles will not work. i want it so that when the player enters the area that will be activated on them, and they cannot do projectiles on other people while they are in the zone too.
code: