Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local allowed_players = {"BINO2002", "LIEFMEISJE44"}
- function check(name)
- for i,v in pairs(allowed_players) do
- if name == v then
- return true
- end
- end
- return false
- end
- for index, child in pairs(game.Players:GetChildren()) do
- local name = child.Name
- local allowed = check(name)
- if allowed == false then
- child:Destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement