How do you use "savedata" and "loaddata"?

in my cookie clicker game, I want people to be able to save their proggress by clicking save. How do I do this?

1 Like