Can't find second camera in Javascript

Making a splitscreen game and I need to find the camera of the second player in Javascript so that I can update the text of how many laps the player has been around the race course.

I’m very new to Unity so please make it easy to understand, thanks

Try to set the first camera’s name to “Cam1” and the second as “Cam2” and then use “GameObject.Find(“Cam1”).GetComponent.()” and the same with Cam2 except change the string.

I hope this was easy to understand.

Click this and I swear you’ll look at it for hours.