Help this script doesnt work

if (Input.GetKeyDown(KeyCode.Space) && isFalling == false)
(
rigidbody.velocity.y = jumpHeight;
isFalling = true;
)
)

functionOnCollisionStay ()
{
isFalling = false;
}

I think you are using parantheses where you should be using brackets, and then have an additional paren beyond that.

Try:

if (...)
{
  rigidbody...
  isFalling...
}