ik i asked this before but nobody cared about it so im reposting it
lines 1 - 12: Creates IntValues lines 14 - 17: Gives one level for every 100 EXP
game.Players.PlayerAdded:connect(function(plr)
local stats = Instance.new("IntValue", plr)
stats.Name = "leaderstats"
local EXP = Instance.new("IntValue", stats)
EXP.Name = "EXP"
EXP.Value = 0
local level = Instance.new("IntValue", stats)
level.Name = "Level"
level.Value = 0
local Souls = Instance.new("IntValue", stats)
Souls.Name = "Souls"
Souls.Value = 0
EXP.Changed:connect(function()
if EXP.Value == 100 then
EXP.Value = 0
level.Value = level.Value + 1
end
end)
end)

2 comments
"Waste time" XDDDDD
What do you mean?