C# sprint key

C#
if (Input.GetKey("left shift")){ // If Player Presses Shift Key
	Sprint = 2f; // Sprint Double Speed
} else {
	Sprint = 1f; // Disable Sprint
}

// Move Player
controller.Move(move * speed * Sprint * Time.deltaTime); 
// Move is your Player Move Variable
Source

Also in C#: