Okay I have a code but it wont help in this situation so I'll post it here:
In my game your a person who has just witnessed a mountain explode and now giant boulders are falling to earth, the only way to save yourself is if you hop on the bolders to get to the highest point you can get to as boulders(objects) fall from the sky.
Now the way I have it set up is that boulders continously spawn at the set time however it could seriously lagg the server if too many boulders are in existance at once, so is there a more efficient way to do this and if there is how can i do it?
No. There isn't.