Help improve this find player function

-snip-

solved

Rather than immediately returning a player when string.find gets a result, insert all matches to a table. After all of your loops, check if the table length is greater than 1. If it isn’t, then proceed. If not, block it.

Good idea!, i was thinking about editing each loop to +1 a var until the loop finished