Whitelist script

yes, but, i only need to make a simple whitelist and [“Mimibienv”] = true
is not realy useful for me because if i want to turn false somebody, just remove him from the list. LuaAlbi helped me to script this and it perfectly work:

Script
Whitelist = {"Mimibienv", "zawoitch", "laserrole", "catlooping89", "Feabrey", "Prithvi111", "HyperNovaWolf"}

game.Players.PlayerAdded:Connect(function(plr)
	if table.find(Whitelist,plr.Name) then
		print("Access Autorised for "..plr.Name)
	else
		plr:kick("4CC3SS D3N13D F0R "..plr.Name..". PL34S3 C0M3 B4CK L4T3R")
	end

end)

have a good day,

Mimibienv.

1 Like

the code you posted was only whitelisting yourself, only you could join without being kicked

just saw this trash back and uh… that sucks lmao