Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || BAN GROUPS V1 || ROBLOX STUDIO
- ]]
- local BannedGroupIDs = {}
- local function groupIsBanned(Player)
- for i,v in ipairs(BannedGroupIDs) do
- if Player:IsInGroup(v) then return true end
- end
- return false
- end
- game.Players.PlayerAdded:Connect(function(newPlayer)
- if groupIsBanned(newPlayer) then
- newPlayer:Kick("[⛏ Banned]: You cannot join this experience, the community your in isn't liked here! (🎮:GROUP)")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment