local playerStats = {}
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Model", player)
leaderstats.Name = "leaderstats"
local grouprank = Instance.new("StringValue", leaderstats)
grouprank.Name = "Rank"
local rank = player:GetRoleInGroup(3074970)
if rank ~= 0 then
grouprank.Value = rank
else
grouprank.Value = "Guest"
end
end)
I am very new to scripting, and just learning off of free scripts I find, etc. I've been very puzzled as I want to be able the game to recheck the player's group rank when they respawn, however I just cannot figure out how to do it.

1 comment
I really appreciate the help! I tried what you suggested, however the group rank is still the same when the character is reset (obviously I did change the rank via the group). Any other ideas? :c