I cant instantiate 2 objects at the same time.

When I shoot its should create a bullet and a flash (I have a model for the flash)
however it gives this error:

No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.Transform, UnityEngine.Vector3)' was found.

Here is my script:

var theBullet : Rigidbody;
var Speed = 20;
var theFlash : Transform;

function Update () 
	if (Input.GetMouseButtonDown(0))
	    var clone2 = Instantiate(theFlash, transform.position);
	    var clone = Instantiate(theBullet, transform.position, transform.rotation);
	    clone.velocity = transform.TransformDirection(Vector3(0, 0, Speed));
		Destroy (clone.gameObject, 3);
		Destroy (clone2.gameObject, 0.5);


The following attempts to use Instantiate with 2 arguments while there’s no version of Instantiate that takes 2 arguments.

var clone2 = Instantiate(theFlash, transform.position);

Change it to

var clone2 = Instantiate(theFlash, transform.position, Quaternion.identity);