Ok, so i press play, finish the lvl in 7 seconds. In menu it says Score: 7, Highscore: 0, than i close the browser, and start the game from the beginning, finish the game in 9 seconds and in menu it shows Score: 9, Highscore: 0, i don`t see the problem solved here :), btw if you start directly in menu it shows Score:0, Hiscore: 0, so nothing is saved.
Create 2 global variables,
SCORE
BESTSCORE
when you run your game you will operate with the score(init with 0), and at the end of the game, compare score with bestscore, if score > bestscore then bestscore = score
i`ve tried this few months ago, but no result, maybe i missed something, if you think you can do it, pls fix the capx.