If you want to add another input button in the Input manager, follow these steps:
- There should be a number that says "17". Increase that to 18.
- At the bottom of the Input manager, an 18th button will have appeared named "Jump".
- There will now be two "Jump" entries. Open the second one.
- Set Name to "crouch".
- Set Positive button: "shift". (Or whatever button you want. List of possible buttons here).
- That's it! Your script should work now. If it still doesn't, make sure the name in the Input manager is the same as the name you entered in your script.