Error UCE0001 ';' Expected.

I know there’s a tonnes of questions like this one but I can’t find any solutions that solve my problem. Here is my code:

#pragma strict
var speed : float = 2.0f;
var fire : GUI_Fireworks;
var launched : float = 0;
var fwObj : GameObject;

function Update(){
if ( == 1 && launched == 0)
Instantiate(fwObj, transform.position, transform.rotation);

Assests/…/ClickToLaunch.js(13,6) : UCE0001: ‘;’ expected. Insert a semi-colon at end.

I can’t see any errors in this at all, so I’m a bit confused.

Unity was having library issues and after reimporting all my assets the issue was resolved. Thanks for your help.