random spawn timer for obstacles