local groupID = 12321313 --- ID of the group

game.Players.PlayerAdded:Connect(function(plr) local ldr = instance.new('Folder',plr) -- Creating the leaderstats ldr.Name = 'leaderstats'

local Val = instance.new('StringValue',ldr) -- Creating the value Rank Val.Name = 'Rank'

Val.Value = tostring(plr:GetRoleInGroup(groupID)) -- Setting the value to the players group rank end)

1 comment

0

this uh.. site is for help fixing scripting problems... this is not for tutorials, no hate of course but you can make a youtube channel instead for that, not here