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

how do i make a group rank script? im making a group place

im making a group training place and im wondering how i can make a rank script

1 answer

✓ Accepted answer

Just replace the group ID with your own.

game.Players.PlayerAdded:connect(function(player)

	local leaderstats = Instance.new("IntValue")
	leaderstats.Name = "leaderstats"
	leaderstats.Value = 0

	local rank = Instance.new("StringValue")
	rank.Name = "Rank"
	rank.Value = player:GetRoleInGroup(12345) -- put group id in parentheses

	leaderstats.Parent = player
	rank.Parent = leaderstats

end)

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