How do you make checkpoints/savepoints?

Not sure if this is what you’re after. But I built a method for putting in an auto save/checkpoints.