Rigidbody2D addForce does not move the object HELP

Hello i never had this problem in my game development but i am trying to make a gun fire a bullet using force in rigidbody2D but it does not move when fired. It just spawns the bullet and does nothing. What is wrong? here is the code:

using UnityEngine;
using System.Collections;
//using UnityEngine.UI;

public class Shooting : MonoBehaviour {

	public bool pistolselected = true;

	public Rigidbody2D bullet;
	public Transform pistolEnd;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (pistolselected == true && Input.GetKeyDown (KeyCode.Space)) {
			Rigidbody2D bulletInstance;
			bulletInstance = Instantiate(bullet, pistolEnd.position, pistolEnd.rotation) as Rigidbody2D;
			bulletInstance.AddForce(pistolEnd.forward * 5000);
		}
		
	}
}

I have no idea. Please help.

Rigidbody2D.AddForce adds force in XY plane. Maybe your pistolEnd direction is toward Z axis.

Well most physics would take place in FixedUpdate() so:

void FixedUpdate () {
         if (pistolselected == true && Input.GetKeyDown (KeyCode.Space)) {
             Rigidbody2D bulletInstance;
             bulletInstance = Instantiate(bullet, pistolEnd.position, pistolEnd.rotation) as Rigidbody2D;
             bulletInstance.AddForce(pistolEnd.forward * 5000);
         }

Instead of pistolend.forward in the AddForce command try Vector2.right