#Im trying to make a whitelist system
35 messages · Page 1 of 1 (latest)
kid named finger
yes
i tried it it doesnt work sadly
ill send the script in a sec
local whitelistUserIDs = {}
game.Players.PlayedAdded:Connect(function(player)
if not table.find(whitelistUserIDs,player.UserId) then
player:Kick("You are not whitelisted on this server.")
end
end)
so uhh where do i put this
question
yea
why is your whitelistuserids empty
ok 1 sec
It doesn't work in there, im testing it on an alt.
** You are now Level 1! **
print something to see if the script runs
Is whilelistUserIDS empty ?
no i put my id in there
as i said before im testing it on an alt
thats not whitelisted
before the if add
print(player.UserId,whitelisrUserIDs)