Help: 2D player jump script

I’ve searched for solutions but nothing works for me, if I press a button my player starts “flying”. I don’t know what’s wrong since I’m not so good at writing code (I take references from tutorials around the web).

My scene is pretty simple. I have a scrolling background, a player who is not moving (I don’t want to) and obstacles coming to his way. What I want is if user gives a input, my player’s jumping.

Any ideas?

Here is my working code for player jump
Here is my player bob is a sprtie

Here is my Ball Control Script

using UnityEngine;
using System.Collections;

public class BallControl: MonoBehaviour {

Rigidbody2D ball_rigidbody;

   void Start () {
		ball_rigidbody = this.gameObject.GetComponent<Rigidbody2D> ();
}

void FixedUpdate () {

		if (Input.GetKey (KeyCode.Space)) {
			ball_rigidbody.AddForce (new Vector2 (0, 200));
		}
}

This may help you