Setting value to 0 isn't working

Just do what @EssenceExplorer said, replace your current code (the if statement) with the script they’ve provided and you should be good to go.


It still doesn’t work im not sure if there even is a solution

I’ve now read your code a bit more, and this:


should have been updating the EXP from the start, and this:


would update the EXP in realtime.

Maybe the extra space here is causing issues?

player.leaderstats.Exp.Value = 0
player.PlayerGui.Level.LevelUP .Visible = true -- extra space on this line (LevelUP .Visible)

I’m honestly not sure whats going on either now.

1 Like

This isn’t working either, should i give the place file?