Save games

I’m working on a game that needs a save option, it needs to save all the variables and the current frame on the local pc any ideas?