Can anyone tell me whats wrong with my script ?

public Camera standbyCamera;
// Use this for initialization
void Start () {
Connect ();
}
void Connect() {
PhotonNetwork.ConnectUsingSettings (“MultiFPS v001”);
}
void OnGUI() {
GUILayout.Label (PhotonNetwork.connectionStateDetailed.ToString () );
}
void OnJoinedLobby() {
Debug.Log (“OnJoinedLobby”);
PhotonNetwork.JoinRandomRoom();
}
void OnPhotonRandomJoinFailed() {
Debug.Log (“OnPhotonRandomJoinFailed”);
PhotonNetwork.CreateRoom (null);
}
void OnJoinedRoom() {
Debug.Log (“OnJoinedRoom”);

 SpawnMyPlayer ();    

}
void SpawnMyPlayer () {
PhotonNetwork.Instantiate(“PlayerController”, Vector3.zero, Quaternion.identity, 0);
standbyCamera.enabled = false;
}

There is nothing wrong with the code. My guess is you copied this code from a tutorial, without setting up the project in Unity or understanding how to do that.

You’re probably failing on the instantiate part because you failed to create a prefab called “PlayerController” and you failed to put that in the folder called “Resources”