//Makes sure everyone has the right parent and shoots the camera private void ShootCamera(RaycastHit target) { audioSource.PlayOneShot(swapSound); target.transform.tag = playerTag; target.transform.gameObject.layer = 2; player.tag = enemyTag; player.gameObject.layer = 0; Transform newCam = target.transform.Find(camStanceTag); fpsCam.transform.parent = newCam; AssignPlayer(); objectStopperScript.AssignPlayer(); camScript.AssignPlayer(); camScript.StartCoroutine("StopLerpRotation"); camScript.isLerpingRotation = true; }