Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do You Add Group Ranking In The Leaderboard?

Asked by 10 years ago

How Do You Add Group Ranking In The Leaderboard?

2 answers

Log in to vote
0
Answered by 10 years ago

You should use getroleingroup.

Basic lua"

game.Players.PlayerAdded:connect(function(player)
Print("Player is " ..player:GetRoleInGroup(GroupId).. ".") --This will show rank name.
end)

You can change getroleingroup to getrankingroup to get the number of rank.

Ad
Log in to vote
0
Answered by 10 years ago

I made a simple script here that you can copy!

(In the blanks put in the group ID and group name)

game.Players.PlayerAdded:connect(function(P) repeat wait() until P:findFirstChild("leaderstats") local Rank = Instance.new("StringValue", P.leaderstats) Rank.Name = "Blank" Rank.Value = P:GetRoleInGroup(Blank)
end)

If you want to buy my script, you are welcome to!

  • http://www.roblox.com/Slimshadytx-39-s-Group-Rank-Leaderboard-item?id=153932236

If you want any more information, PM me!

Answer this question