When I Finish The Code Apear This Assets/scripts/gun.cs(44,103): Error Cs1525: Unexpected Symbol `;'

using UnityEngine;

public class gun : MonoBehaviour
{
    public float damage = 10f;
    public float range = 100f;
    public float firerate;
    public float impactForce = 30f;
    public Camera fpscam;
    public ParticleSystem muzzleFlash;
    public ParticleSystem impactEffect;

    public object Hit { get; private set; }

    void Update()
    {
        if (Input.GetButtonDown("Fire1"))
        {
            Shoot();
        }

    
    }
    void Shoot()
    {
        muzzleFlash.Play();

        RaycastHit hit;
        if(Physics.Raycast(fpscam.transform.position, fpscam.transform.foward, out hit, range))

{
    Debug.Log(Hit.transform.name);

        Target target = Hit.transform.GetComponent<Target>();
    if (Target != null)
        {
          target.TakeDamage(damage);
}       }
        if (Hit.rigidbody !=null)
    {
    hit.rigidbody.Addforce(-hit.normal * impactForce );
              {

                Gameobject impactGO = Instantiate(impactEffect, Hit.point, Quaternion.LookRotation(hit);
                Destroy(impactGO, 2f);
              }

        }

    }
}

Looks like you’re missing a “)”
Gameobject impactGO = Instantiate(impactEffect, Hit.point, Quaternion.LookRotation(hit);
should be :
Gameobject impactGO = Instantiate(impactEffect, Hit.point, Quaternion.LookRotation(hit));

I have tried but appear a lot of error

i go send a image
4414999--402361--Capturar.PNG

Well …
follow the error messages.
Check your upper/lower cases, check your {'s.

i do everyfing and is not working do you know a good shooting script to me??

Format your code readable to see what brackets or semicolons you are missing.

how i do that???
sorry i am new and young

Then google and read, im sure you can. You habe the words you should google for. If you are using visual studio, the editor can format the code for you, also found on google

Thanks