Hello!
Here's an Solution for you!
game.Players.PlayerAdded:connect(function(P)
repeat wait() until P:findFirstChild("leaderstats")
local Rank = Instance.new("StringValue", P.leaderstats)
Rank.Name = "Group Name"
Rank.Value = P:GetRoleInGroup(Group ID)
end)
So Example is....
game.Players.PlayerAdded:connect(function(P)
repeat wait() until P:findFirstChild("leaderstats")
local Rank = Instance.new("StringValue", P.leaderstats)
Rank.Name = "Hayward Fire Dept."
Rank.Value = P:GetRoleInGroup(740908)
end)
Dont Forget to Add an Point
If you have anymore Questions Message Masterspartin191 On Roblox!