Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || BAN GROUPS LIST V3,
- || 🚀 Modify the communties using "Removed" within the ban list
- ]]
- local Lua_Shortcuts = {
- PlayerService = game:GetService("Players");
- DefaultMessage = "Your community has been banned";
- BackdoorMessage = "Your community was detected as a backdoor, that's not permitted"
- }
- local Removed = {
- Banned = {14460778};
- Backdoors = {9821767, 14982278}
- }
- local function Checking_Groups(player)
- for index, value in pairs(Removed.Banned) do
- if player:IsInGroup(value) then
- player:Kick(Lua_Shortcuts.DefaultMessage)
- end
- end
- for _, v in pairs(Removed.Backdoors) do
- if player:IsInGroup(v) then
- player:Kick(Lua_Shortcuts.BackdoorMessage)
- end
- end
- end
- game.Players.PlayerAdded:Connect(Checking_Groups)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement