Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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" --You can change the rank if you want, just remove the "Rank" inside the qoutes(do not delete the quotes), and write something else
- Rank.Value = player:GetRoleInGroup(4671891) --Delete "Your Group ID" (without the parenthesis) and enter your group ID there.
- leaderstats.Parent = player
- Rank.Parent = leaderstats
- end)
Advertisement
Add Comment
Please, Sign In to add comment