What do you mean by that?
If you mean this:
Create a global variable named 'score'
Create a spawn box (sprite) named 'spawnbox'
System event - action: add to variable 'score' 1.
System event - compare variable - equals or more => 500 - action: spawnbox - spawn another object at Layer (game layer) at imagepoint 0/1/2(?)
Hope that helps...