Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to create a group checker that kicks them if they arnt in a group?

Im tryin to be classy here so dont tell me to use free models. ;P

3 comments

0

.-.

0

Telling us to do this is practically asking for a fm but in script form and it's not classy to do it here since this is for avid scripters .-.

0

This is ScriptingHelpers, not ScriptMakers (does not exist btw). Do not post requests for scripts on this site, otherwise they may or will be downvoted and/or locked.

1 answer

groupID = 12345678

game.Players.PlayerAdded:connect(function(plr)
	if not plr:IsInGroup(groupID) then
		plr:Kick("Sorry, you are not in the required group needed to join.")
	end
end)

1 comment

0

Might work.

This discussion is preserved as it was. New answers, comments, and votes are closed.