Also you’ll want to indent the achievement texts or you’ll have an error, like so:
So, I threw your code into CSIDE and typed up the snippet from your main scene, like so:
And it worked perfectly.
Are you running the game in a browser when you get the error?