Simple Crouch Free to use

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class crouch : MonoBehaviour {

public GameObject Player;


// Update is called once per frame
void Update () {
    if (Input.GetKeyDown("c"))
    {
        Player.transform.localScale += new Vector3(-1, -1, -1);
    }
    if (Input.GetKeyUp("c"))
    {
        Player.transform.localScale += new Vector3(1, 1, 1);
    }

}

}

i just got a crouch script working for my game so i thought it would be a good idea t oshare it ik this is not the best place but its hereā€¦ enjoy!