How to make Set Active true when scene loads

Okay so I have a First Person Shooter game and I have it all set up so that when the 2 objects are destroyed, it loads the next level (scene). In the next scene, I have an object that is set active false, and I have to keep it at false until that scene loads. Now I don’t know how to do that. I know how to change the scene, but I don’t know how to do it so that when the scene loads, the set active of a specific object becomes true. Here is the script I tried with my beginner scripting skills:

I’m not very advanced in scripting so sorry if this was dumb but yea can someone help me? Thanks in advance!

See this post: