i need this script that changes xpneeded on each lvl ex:
game.Players.LocalPlayer.leaderstats.Level.Changed:connect(function()
if game.Players.LocalPlayer.leaderstats.Level == 1 then
game.Players.LocalPlayer.XpNeeded.Value = 200
end
end)
...... if found any wrong spelling its cus i dindt copy paste
but can soemone tell me how to change an intvalue in a (local)script because idk how to

1 comment
thanks for helping me but the other answer was a little bit more helping and easy (without doing math) i do appreciate the help