Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || BAN LIST V3,
- || 🚀 Modify the reasons using "Removed" within the ban list
- ]]
- local Lua_Shortcuts = {
- PlayerService = game:GetService("Players"),
- DefaultMessage = "You've been banned, please do not return."
- }
- local Removed = {
- ["Username1"] = "Raiding, vandalism or stealing models isn't permitted neither is modifying the source code.";
- ["Username2"] = "Raiding isn't permitted!";
- }
- local function Checking_List(player)
- for index, stored in pairs(Removed) do
- local SetValue = Lua_Shortcuts.PlayerService:GetUserIdFromNameAsync(index)
- if player.UserId == SetValue then
- player:Kick(stored)
- end
- end
- end
- game.Players.PlayerAdded:Connect(Checking_List)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement