Having issues with the Serial Monitor needing to be opened for my entire code to work

like as a new post? or a reply to this one?