game.Players.PlayerAdded:Connect(function(plr)
plr:WaitForChild("stats")
plr:WaitForChild("leaderstats")
plr.stats:WaitForChild("exp")
plr.leaderstats:WaitForChild("level")
local l = plr.leaderstats.level
local e = plr.stats.exp
while true do
if e.Value >= 50 then
l.Value = l.Value +1
wait(1)
end
end
end)
it wont make me level up when correct exp reached help?

1 comment
You're not getting the player correctly