There are about 30 players in the PlayerData.json file at the moment. I realize that as the number grows, it will become a problem. I plan to have some players automatically removed, or moved to a separate inactive players file of some sort. Thanks for the tip about sorting the table more efficiently. I'll I'll have to take that into consideration in the future.
Don't know why I didn't think of that.
xpcall(main, debug.traceback) is exactly what I was originally looking for. Thanks
Thanks for all the tips. I really appreciate it, but unfortunately my problem is stil