Not sure if this would be the right way, but you might need to save x, y locations of all objects, and objects UID in the array, and on game load, you would have your script to create objects based on the data in the array,
for example:
arrayData: 1,4,1
Index: 1 (Object UID), (X Location), (Y Location), (Layer), etc......
Edit: changed the If to a foreach
so when game starts | foreach {arrayData.at(arrayData.IndexOf(object.UID), 1)} (CreateObject Object, SetPosition.X (arrayData.at(arrayData.IndexOf(object.UID), 2), SetPosition.Y (arrayData.at(arrayData.IndexOf(object.UID), 3), SetLayer (SetPosition.X (arrayData.at(arrayData.IndexOf(object.UID), 4)))
now I am at work and do not have construct open, but this is what I see in my head right now. I could be way off as well.