So, I tried making this quick script to realising this does not work. It is suppost to display a rank but does not display on the leaderboard. Any help? Thanks.
game.Players.PlayerAdded:connect(function(P)
repeat wait() until P:findFirstChild("leaderstats")
local Rank = Instance.new("StringValue", P.leaderstats)
Rank.Name = "Rank"
Rank.Value = P:GetRoleInGroup(1123228)
end)
