im making a group training place and im wondering how i can make a rank script
Just replace the group ID with your own.
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(12345) -- put group id in parentheses leaderstats.Parent = player rank.Parent = leaderstats end)
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?