What's the usecase for this? Do only the players in the zone experience the blackout? Or is it for emulating lights inside MLOs? I feel like I would use this if I knew why I needed this xD
Also I wanted to point out a part of the script - personally I'd avoid the use of a thread that runs 24/7 and only call it when inside the zone if necessary.
If you're interested in even more technical analysis.. 2 calls to the server per player per second is extremely taxing if it's running whenever you're not in a zone. Lets use average HTTP requests and math for that.. true/false is 5-6 bytes + average header (8200ish bytes) sent 4 times per second per player - roughly 397KB per second with 120 players... so every 3 seconds it takes 1.2Mb of bandwidth to execute this single thread. So if your server averages 120 players minimum all hours of the day that's 11GB of unnecessary bandwidth being used between your server and the players.