now it saves :D
I just fixed a bug in the original script. all credit to the original Literally the bug was just that it reset every time you hit the flag.