Trouble with score

Sorry to bring up an old post but I had exactly the same error and found a fix. 

I needed to move the ‘loadScore’ and ‘saveScore’ functions to the ‘local forward references’ section prior to my scene:create function. 

HTH