How to shoot forward?

Hello guys I need your help when press a button on the mouse to shoot the bullet it moving to the right, I want it moving forward, please, help me, I use this script below , You can see the picture below also.

var Bullet : Transform;
var Spawn : Transform;

function Update ()
{
if(Input.GetButtonDown("Fire1"))
{
Shot();![24662-untitled.png|1360x637](upload://mmok1CFbFLmDtu1kiTYjQ8KU2xH.png)
}
}
 
function Shot()
{
var pel = Instantiate(Bullet, Spawn.position, Spawn.rotation);
pel.rigidbody.AddForce(transform.forward * 8000);
 
 
}

in the add force function you should use the forward from pel.

pel.rigidbody.AddForce(pel.transform.forward * 8000);

and if this doesn’t work try changing the velocity

pel.rigidbody.velocity = (pel.transform.forward * 8000);

link: rigidbody velocity