My group blacklist system does not work. The error is Argument 1 missing or nil.
Code:
local groupBlacklists = {
groupId = 9434941, reason = "karate is bad"
}
game.Players.PlayerAdded:Connect(function(plr)
if plr:IsInGroup(table.find(groupBlacklists, groupBlacklists.groupId)) then
plr:Kick("You are the member of a blacklisted group (id "..groupBlacklists.groupId..")\nGroup Blacklist reason: "..groupBlacklists.reason)
end
end)