This is the script I've been working on I am sorry if I did anything wrong on this post, it's my first time.
```local a = {[538496882]=true} --etc.
local b = {[100451296]=true, [000000000]=true} --etc.
game:GetService('Players').PlayerAdded:connect(function(player)
local data = Instance.new("Folder")
data.Name = "leaderstats"
data.Parent = player
local rank = Instance.new('StringValue')
rank.Parent = data
rank.Name = 'Rank'
if a[player.UserId] then
rank.Value = game.ServerStorage.RankStorage.Rank1.Value
if b[player.UserId] then
rank.Value = game.ServerStorage.RankStorage.Rank2.Value
end
end
end)
]]```