NEED HELP WITH RAYCAST SHOOTING !!!

var Effect : Transform;
var TheDamage = 100;
var sound : AudioClip;

5.function Update () {
if(Input.GetButtonDown(“Fire1”)){
audio.PlayOneShot(sound);
audio.Play();
}
10.
var hit : RaycastHit;
var ray : Ray = Camera.main.ScreenPointToRay(Vector3(Screen.width0.5, Screen.height0.5, 0));
if (Input.GetMouseButtonDown(0)){
if (Physics.Raycast (ray, hit, 100))
15. {
var particleClone = Instantiate(Effect, hit.point, Quaternion.LookRotation(hit.normal));
Destroy(particleClone.gameObject, 2);
hit.transform.SendMessage(“ApplyDamage”, TheDamage, SendMessageOptions.DontRequireReceiver);
}
20. }
}

that is my script but on the error bar it says unexpected char ‘f’

This code has been butchered!?!

It looks like you have copied and pasted from this site but took the line numbers with it.

 5.function Update () { 

should be:

function Update () { 

You would need to clean up “10.”, “15.” etc., it is probably easier to go back to the source and start again.