Hello! I have a whitelist script for my game. The problem is, it doesn't work unless the username is written with every capital letter in the username. For example, it wouldn't work if somebody's username is "RobloxGirl" and I put "robloxgirl" in the script. It just kicks the player if I don't put the name 100% correct. This is a pain because I have to type about 200 names for 2 whitelists, and it would suck to have to get everyone's exact username. I was wondering if there is any way to make it so that it doesn't kick them if their username isn't 100% including all the capitals, etc. any help would be greatly appreciated!
local usernames = {
"trashijordi","MayaClouds",
"iamsweeetgirl98","crossfithigh",
"Edicista","tyleraiin",
"alexiscorner","brettloaf",
"aidenwhenE","breecause",
"BellaLuxury","Aedificate",
"marziqaa","LostCyborg008",
"GrassRod123","Mia_Boo05",
}
game.Players.PlayerAdded:Connect(function(plr)
if not table.find(usernames, plr.Name) then
plr:Kick("Player not on the 1st reservation list")
end
end)

2 comments
What if you just used UserID (they can change their name)?
it would be the same as just going to their profiles and copying their name basically