How do i save an integer that i can later add onto?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nbn_d

I want the game to save playerstats like how many times they’ve won and lost or their best time and display in a label. How do i save an integer and later modify it by adding numbers?

:bust_in_silhouette: Reply From: juppi

You could save it into a Config File:
https://docs.godotengine.org/en/stable/classes/class_configfile.html