Thanks, that solves some of my problems. However, now I have a new problem I want to make an acheivement that only comes up once in a specific level, like an acheivement when you break gold in, say level 16, but not in the following levels. How do I do that?
P.S. I've tried the 'On start of layout' function, but it adds one every time you die, so It isn't viable unless you do not or cannot die in a level.