Error CS0131

I’m new to programming and I quickly need advice on whats wrong here and how to fix it…
the error is on line 20 (input.GetKey(“left shift”) = false)
i have an energybar set up and when the fillamount value reaches 0 after running, i want the character to stop running…

using UnityEngine;
using System.Collections;
using UnityEngine.UI; // Required when Using UI elements.

public class Energycooldown : MonoBehaviour {
	public Image Energybar;
	public bool coolingDown;
	public float waitTime = 30.0f;
	// Update is called once per frame
	void Update () 
		if (coolingDown == true)
			//Reduce fill amount over 30 seconds
			Energybar.fillAmount -= -1.0f/waitTime * Time.deltaTime;

		if (Energybar.fillAmount == 0)
			 Input.GetKey("left shift") = false;


error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer

The error is descriptive. You’re trying to assign input.GeyKey() with “=”, but what you really want, is to compare with “==” (double equals).

    (Input.GetKey("left shift") == false)

You cannot directly modify the value of an input axis through script. If you are attempting to compare the values, you should use (!Input.GetKey(“left shift”))

The exclamation mark denotes that it should be checking for the value to be false.

Two things:
One isn’t this line actually increasing the value because - and - is +?

Energybar.fillAmount -= -1.0f/waitTime * Time.deltaTime;

Two this line should look like this:

if (Energybar.fillAmount == 0 && !Input.GetKey(KeyCode.LeftShift){