Changing Bullet direction

Here is the problem. With this script the bullets travel along the y axis. So if the player turns, they go through him and continue along the y axis. How can I make the direction relative to the player?

var readyNow = true;
var shot : Rigidbody;
var waitTime = 3;
var speed = 300;

function Update () {
if(Input.GetButton("Fire1") && readyNow == true){

Shoot();

}
}

function Shoot () {
print ("shoot!");
var projectile : Rigidbody = Instantiate(shot, transform.position + Vector3(10,-0.5,0), transform.rotation);
projectile.velocity = transform.TransformDirection(Vector3(0,1,0) * speed);

readyNow = false;
yield WaitForSeconds (0.25);
readyNow = true;
}

var readyNow = true;
var shot : Transform;
var waitTime = 3;
var speed = 3000;

function Update () {
if(Input.GetButton("Fire1") && readyNow)
    {
    Shoot();
    }
}

function Shoot () 
{
print ("shoot!");

projectile = Instantiate(shot, transform.position + Vector3(10,-0.5,0), transform.rotation);
projectile.rigidbody.AddForce(transform.forward * speed);
readyNow = false;
yield WaitForSeconds (0.25);
readyNow = true;
}

This is what I would have done. I add force to the projectile form the players transform.forward. So the bullet will(should) allways shoot in the forward faceing direction of the player.