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

How would I make it so people with a group rank get kicked?

As you see, that is my question. I already have the group rank numbers, but I'm not sure how.

1 answer

Just a simple if statement could be used to check if a player's rank in a group is equal to a certain number! Using :GetRankInGroup() returns the number value, so you could do something like this:

if game.Players.player:GetRankInGroup(num)==num2 then
	game.Players.player:Kick("You are banned")
end

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