A GUI that appears in one camera view

Is there a script that can make a GUI appear only in certain Camera view? Like I have 2 Cameras, Cam 1 and Cam 2. I want a Gui only to appear in Cam 2.

You could try making an if statement like if(cam2.active == true){gui.active = true;}

please ask if you want anymore help

I’m fairly sure you can simply wrap the GUI in an if statement that checks which camera you’re using.