i made a leveling system recently and i want to make it so it changes the needed exp according to the module SERVER SCRIPT
Exp.Changed:connect(function()
fightingdata:SetAsync(player.UserId, value.Value)
leveldata:SetAsync(player.UserId, level.Value)
expdata:SetAsync(player.UserId, Exp.Value)
neededdata:SetAsync(player.UserId, NeededExp.Value)
if Exp.Value > NeededExp.Value then
wait(0.5)
local expleftover = Exp.Value - NeededExp.Value
NeededExp.Value = "" -- what the module says for the next level
Exp.Value = expleftover
level.Value = level.Value + 1
end
end)
MODULE
50,
75,
100,
120,
150,
230,
350,
500,
750,
900,
1250,

1 comment
This aint enough information