I have this script
game:GetService('Players').PlayerAdded:connect(function(player)
if player:FindFirstChild("Points") ~= nil then
if player.Points.Value > 0 and player.Points.Value <= 40 then
player.leaderstats.Rank.Value = "Private"
elseif player.Points.Value > 40 and player.Points.Value <= 100 then
player.leaderstats.Rank.Value = "General"
end
end
end)
but it only works when the player enters the game for the first time, so how would I make it work everytime the player respawns?
