if (chMotor.grounded && Input.GetKey(“left shift”) || Input.GetKey(“right shift”) && stamina > 0){
speed = runSpeed;
stamina–;
}
else if(stamina == 0 || stamina > 90)
{
stamina++;
speed=7;
}
how do i make the else loop start when i release the left shift. i have tried the get button up to no avail. is there a command I’m missing
thank you soo much
– kayvan60