*HELP* -- How to overwrite an old data in a save file created from game?

I have a saved file in my game containing data inside…what i want is that whenever i got a new data(high score)…i want to overwrite the new data from the old data and save it…i dont know how to do it…please help me im stuck on it…thanks’… :’)

Every time you run your save function, you overwrite your file with the content of your table. All changes to the table before save, will then overwrite your saved data.

2 Likes