game.Players.PlayerAdded:Connect(function(players)
local folder = Instance.new("Folder",players)
folder.Name = "leaderstats"
local Points = Instance.new("IntValue",folder)
Points.Value = 0
Points.Name = "Points"
local Rank = Instance.new("StringValue",folder)
Rank.Name = "Amateur"
while true do
wait(5)
Points.Value = Points.Value + 1
end
if Points.Value > 9 then
Rank.Value = "Better"
end
end)
Im currently trying to make a a rank system EX : 10 points you can get the "Better" rank , but instead of working . When the points hit 10 , nothing happens , the rank is still at Amateur . I put this script in ServerScriptStorage , the outputs shows no errors , Any help would be greatful !
