Sent below the free version, that's an absolute joke.
local groupId = 00000 -- Place your group ID here! :)
local function onPlayerJoin(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local gems= Instance.new("IntValue")
gems.Name = "Gems"
gems.Value = 0
gems.Parent = leaderstats
local rank= Instance.new("StringValue")
rank.Name = "Rank"
rank.Value = player:GetRoleInGroup(groupId)
rank.Parent = leaderstats
end
game.Players.PlayerAdded:Connect(onPlayerJoin)