By any chance have you closed down or privated the module?
It keeps returning nil for the GLeaderboard module and essentially disables the entire script as multiple errors occur when trying to call back to the GLeaderboard such as in lines 12 and 20.