Jump script help

Hello i’m currently making a game, but having some issues with the movement script, what i want it to do is move right always, which is working fine, but there’s a problem with the jumping script, i have the button set to GetMouseButtonDown but it does not work, also the player will jump, and then bounce forever, i’ve tried setting the bounce threshold to 0, but it doesn’t work here’s my script ` public float moveSpeed = 3f;
public float jumpSpeed = 2f;

// Update is called once per frame
void Update () 
	transform.Translate (Vector3.right * moveSpeed * Time.deltaTime);


		transform.Translate(Vector3.up * jumpSpeed * Time.deltaTime);


Remove the semicolon after the if statement.