Parent objects rotation getting thrown off after starting play mode

I have a empty object connected to my camera, and when I rotate the empty game object it works properly and the camera orbits around it but when I start the game it doesn’t orbit around and stays in place

in the examples below the empty object (Named Camera) is rotated 90 degrees
Before Starting:

After Starting:

Code (some parts are currently useless since its not done):

{
    private Camera camerasettings;
    //Players Position
    private Transform playersCurrentPosition;
    //Rotation Speed
    public float rotationSpeed = 100f;
    // Start is called before the first frame update
    void Start()
    {
        camerasettings = GameObject.FindWithTag("MainCamera").GetComponent<Camera>();
        playersCurrentPosition = GameObject.FindWithTag("Player").transform;
    }

    // Update is called once per frame
    void Update()
    {
        transform.position = playersCurrentPosition.position;
        if (Input.GetKeyDown(KeyCode.RightArrow))
        {
            transform.rotation = Quaternion.Euler(new Vector3(0, 100, 0));
        }
    }
}