From the input action of pressing the crouch button, make sure it’s actually setting crouch to true when pressed and set it to false when released. So just add it onto the crouch and uncrouch you already have.
From the input action of pressing the crouch button, make sure it’s actually setting crouch to true when pressed and set it to false when released. So just add it onto the crouch and uncrouch you already have.