This is how you put your group ranks in your game

Hello today I am going to teach you how to add your group ranks in game. First go into studio and lode up your game. Then just make a script file then copy/past this into it (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” --You can change the rank if you want, just remove the “Rank” inside the qoutes(do not delete the quotes), and write something else
Rank.Value = player:GetRoleInGroup(0) --Delete “Your Group ID” (without the parenthesis) and enter your group ID there.

leaderstats.Parent = player
Rank.Parent = leaderstats

leaderstats.Parent = player
SecondRank.Parent = leaderstats

end)
Then you will see a spot in the script that has (0) make sure to put your group ID in that spot. After that save what you did and join the game. If need further help please message me on ROBLOX or discord. (Discord tag is smith96q#7772) Have a grate rest of your day.

6 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.