please put a semicolon at the end help!

i am trying to use the weapon script on the froum and it copied and paste it and it said that you need to put a semicolon at the end this is what the forum link is http://wiki.unity3d.com/index.php/ShootingWeaponScript.and this is the script,
using UnityEngine;
using System.Collections;

///


/// created by Markus Davey 22/11/2011
/// Basic weapon script
/// Skype: Markus.Davey
/// Unity forums: MarkusDavey
///

public class weaponScript : MonoBehaviour
{
// public
public float projMuzzleVelocity; // in metres per second
public GameObject projPrefab;
public float RateOfFire;
public float Inaccuracy;

// private
private float fireTimer;

// Use this for initialization
void Start ()
{
fireTimer = Time.time + RateOfFire;
}

// Update is called once per frame
void Update ()
{
Debug.DrawLine(transform.position, transform.position + transform.forward, Color.red);
if (Time.time > fireTimer)
{
GameObject projectile;
Vector3 muzzlevelocity = transform.forward;

if (Inaccuracy != 0)
{
Vector2 rand = Random.insideUnitCircle;
muzzlevelocity += new Vector3(rand.x, rand.y, 0) * Inaccuracy;
}

muzzlevelocity = muzzlevelocity.normalized * projMuzzleVelocity;

projectile = Instantiate(projPrefab, transform.position, transform.rotation) as GameObject;
projectile.GetComponent().muzzleVelocity = muzzlevelocity;
fireTimer = Time.time + RateOfFire;
}
else
return;
}
}

Hi Ken. Welcome to the forums!

First off, this question should go into the Scripting subforum and not in Unity Support.

Secondly: Use code tags to format code snippets and make it easier for people to understand your question.

Thirdly: If you were to open the Console window in Unity and click on the error message, it will give you the exact line number of where the problem is (hint: it’s online 44 in the code snippet you posted).

Finally: If you still can’t figure it out on your own then you should invent some time in learning programming and C#, because you won’t be able to make a game work by clobbering together code snippets you don’t understand and using fellow forum members as human compilers.

Good luck.

thx