private void PlayerisInTheRange()
    {
        // Vector3 direction = player.position - stationPoint.position;

        Ray rangeRay = new Ray(stationPoint.position, stationPoint.forward);

        Debug.DrawRay(stationPoint.position, stationPoint.forward, Color.blue);

        RaycastHit hit;

        if (Physics.Raycast(rangeRay, out hit, 15f))
        {
            if (hit.collider.gameObject.CompareTag(Tags.PLAYER))
            {
                if (playerHasKeycard)
                {
                    healthController.hasPlayed = true;
                    openGateTxt.alpha          = 1;

                    if (Input.GetKey(KeyCode.E))
                    {
                        missionUI.ShowKillLastStandingEnemiesTxt();
                        checkPointCompleted = true;
                        gateController.UnlockGate();
                        playerHasKeycard = false;
                        StartCoroutine(DisableText());
                        missionUI.ShowSavingText();
                        return;
                    }
                }
                else if (!playerHasKeycard)
                {
                    pickUpKeyTxt.alpha = 1;
                    StartCoroutine(DisableText());

                    return;
                }
            }
        }
    }