Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || BAN USERNAMES V1 || ROBLOX STUDIO
- ]]
- local BannedUsernames = {}
- local function playerIsBanned(Player)
- for i,v in ipairs(BannedUsernames) do
- if Player.Name == v then return true end
- end
- return false
- end
- game.Players.PlayerAdded:Connect(function(newPlayer)
- if playerIsBanned(newPlayer) then
- newPlayer:Kick("[⛏ Banned]: You cannot join this experience, you're in the ban list! (📃:USERNAME)")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment