How to make un-authorized player kicker script "(Developers Only) Game'

you can do like @COUNTYL1MITS but with a nil check…

 local whitelist = {whatever}

 game.Players.PlayerAdded:Connect(function(plr)
         If table.find(whitelist, plr.Name) == nil then
                 plr:Kick("Developers Only")
         end
 end)
1 Like

Though I would not recommend using usernames as they can be changed at anytime without notice while UserIds are permanent.

2 Likes

yea that’s true… 30dnzfdjrfdk

1 Like