Group Blacklist Script

May I just ask out of curiosity what is the purpose of this?

In my opinion it only will reduce your player counts and result in people who may have liked your game, instantly disliking it due to being kicked when joining.

I understand it Amy be to prevent trolls / certain types of communities from playing your game. But in terms of statistics I feel it does more harm then good.

4 Likes

I personally would never use a script like this but

For a game that’s just a “hangout” - there may be a certain group that go around trolling. I’ve seen a lot of this where everyone joins one group and dresses up the same and goes and trolls at cafes etc.

That’s the sole purpose in my opinion.

1 Like

A blacklisted group script is good!
It prevents people that are in troll groups to raid/troll your game.

3 Likes

I use this to ban groups known for malicious activities.

2 Likes

If someone wants to be malicious in your game they can just… use an alt that’s not in the group?

Banning groups is very silly and acomplishes nothing.

8 Likes

That’s a fair point

However for large targeted raids - I think this solution helps.

If the alt-creating becomes as issue, there are ways to implement issues surrounding that.

I’d like to point out that I think the intent of this script is to remove (kick every time) players in a group that stole assets from the game, highly disruptive, or a roleplay ending for groups that roleplay is vital for them. It may not be for you but it’s a great add-on for new beginners to learn.

You can also create a script where users account age have to be above 30 days to join or else kicked.

1 Like

That is against Roblox’s terms of service and very silly from a game design perspective.

3 Likes

Could you send me the ToU rule addressing this? I thought that was only a guideline for a featured game.

I agree, but not to be rude or anything you can’t get your game moderated or anything, this Group Blacklist script and the account age can provent:
Raids
Alt exploiters
Alt accounts that had there main account bannned

1 Like

Hold on… You’re accusing this user of copy code that someone gave you on your thread. When this user created this thread a day before you. And this code is nothing alike. Just to show, so you can’t argue anymore.

Below is the code you’re saying demofocus has copied.

local bannedGroups = {}

local GroupService = game:GetService("GroupService")

game:GetService("Players").PlayerAdded:Connect(function(player)
    local playerIsInGroups = GroupService:GetGroupsAsync(player.UserId)
    for _,currentGroup in pairs(playerIsInGroups) do
        for i,currentBannedGroup in pairs(bannedGroups) do
            if currentGroup.Id == currentBannedGroup then
                player:Kick("Please leave the group "..currentGroup.Name.." to join this game.")
            end
         end
     end
end)

And the code below this comment is obviously demofocus again.

--[[ Made by demofocus for Models4U - Insert into serverscriptservice and it should be good to go!--]]

local groupBlackList = {3514227 , 7} -- Add group IDs here. I've used Roblox + Devforum as an example.

game.Players.PlayerAdded:Connect(function(plr)
	for i,v in pairs(groupBlackList) do
		if plr:IsInGroup(v) then
			plr:Kick("You are in a blacklisted group!")
		end
	end
end)

At which part are you confused on him copying another users code?

2 Likes

Update: I’ve changed the layout a bit. Hopefully it’s more easier to read now.

Brilliant! This is amazing! You should make this cost ROBUX, it’s very efficient.

2 Likes

I don’t see a good point on why other people should blacklist groups especially when you have members in your group that are apart of the blacklist. That is just bad game design and not a welcoming situation when you instantly just get kicked cuz you are apart of a fan group. I get it that you don’t want certain type of toxic communities and trolling communities but at the same time that will just ruin your game reputation. I highly encourage you not to add a blacklist script for any major project or public game. Especially if it’s a featured or front page game. Other than that great work and cheers! :beverage_box:

1 Like

No, I think the age limit thing is still in a pretty gray area. What was definitely against ToS was banning guests. Is setting an account age limit for your game allowed?

Many games I’ve played on have account age limiters and they seem to be fine. I wouldn’t suggest having an age limit of 30 days though, that will likely just drive new Roblox players away from the game if they have no malicious intent. A limiter of about 3 days or so would be much better, as even just a few days can bore alt raiders.

1 Like

Someone recommended that to prevent this, instead of replying solely on account age, you should also take into consideration things like:

  • Badge Count in proportion to Account Age
  • Last Log In
  • Inventory/Avatar
  • Etc.
2 Likes

Roblox has preciously taken action against models (like Adonis Admin) which implement age limits. The precedent amongst both Roblox and developers is that age limits are not allowed.

3 Likes

Yea, I don’t see any problem with an Age Verification System.

This is Off topic

1 Like

To be completely honest, if you hated a group so badly just ban the owners of the game but don’t prohibit other people’s experiences from your game just because you dislike the operations. I would never forbid my games from making money, by banning users from a disliked group. Now I understand if your game isn’t that big yet and you have certain users from a group trying to copy your assets or cause commotion then that makes sense. I’d say it’s not necessary to some extent.

I find these types of scripts very useful as some exploits have ROBLOX groups and you need to be in those groups for your exploits to work, so you can simply just blacklist those exploiter groups and their members won’t be able to join your games.