It’s erroring because the character may not have loaded by the time the loop tries to get it, since if it doesn’t exist, it’ll try to use FindFirstChild on nil
Also if you’re creating a safe zone, Touched and TouchEnded are inefficient for this as they fire multiple times, regions would be a better way to do what you require
I recommend ZonePlus v2 as it features what you need for safe zones or other things requiring the usage of entering and leaving a zone