I am currently creating a combat game where there is a safe zone in which players can enter in order to not receive damage or cause it, but I've thought of many ways I could do this but what would be the most reliable way?
Method 1: using the touched event for parts, I plan on having a table with a list of players and either sets them to true or false with touching the event or when the touch has ended, then players could just check if the the player they intend to hurt has their value in the table set to true or false.
Problem: Touched event I have heard is a bit unreliable and sometimes doesn't detect whether players do hit or not.
I've explored other methods such as checking magnitude every 0.1 seconds and even using the region3 check, however I also heard these are quite taxing on the games performance with 20+ players and many things moving around in such a large map, could someone guide me in the right direction in which I could achieve this safe zone?

1 comment
You should check out this question: https://scriptinghelpers.org/questions/80338/how-do-i-fix-a-safezone-that-damages-players