i found something on roblox
salam bacheha chetorid man yeh script barayeh kheily peidah karadam agar groh roblox darih biah 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" rank.Value = player:GetRoleInGroup(4618557) -- Group ID leaderstats.Parent = player rank.Parent = leaderstats end)