Is it online or offline? What engine are you using? At least for Game Maker (and I know you can do this elsewhere) if it's local, just have a check if (score > highscore) highscore = score; then write that to a text file. That way it saves it between sittings