Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game.Players:GetPlayers()
- game.Players.PlayerAdded:connect(function(p)
- local kick = true
- for i,v in pairs(plrs) do
- if p.Name == v.Name then
- kick = false
- end
- end
- if kick then
- p:Kick("This is a private server!")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement