Script error, fast fix.

CS1519 Error, Don’t know why or how it is even happening.

[QUOTEusing UnityEngine;
using System.Collections;
///


/// This script is attached to the blaster projectile and it
/// governs the behavior of the projectile
///

public class BlasterScript : MonoBehaviour {
//Variables Made here

private Transform myTransform;

private ProjectileSpeed = 10; //a f must be used for decimals in a float.
//projectile flight speed

//Preventing projectile from more harm once it has collied with something
// a bool is a true or false variable.

private bool projectilehit = false;

//Ray projected infront of projectile for hit detection on other colliders in scene.

private RaycastHit hit;

//the range of the ray on the projectile

private float range = 1.5f //will extend 1.5 units infront of blaster projectile

//Varibles End

// Use this for initialization
void Start (){

myTransform = transform;

}

// Update is called once per frame
void Update ()
{
//Translate the projectile upwards (the pointed end of the projectile)

myTransform.Translate(Vector3.up * ProjectileSpeed * Time.deltaTime);

//If ray hits something, this code will start

if(Physics.Raycast(myTransform.position,myTransform.up, out hit, range)
{ projectilehit == false;

//If the collider has a tag of Floor then…

if(hit.transform.tag == “Floor”)

{
projectilehit = true;

//Making the ray invisible to the player

myTransform.renderer.enabled = false;

//turn off the light. halo will also disappear from it

myTransform.light.enabled = false;

}

}

}
}
][/QUOTE]

That’s unreadable. http://forum.unity3d.com/threads/143875-Using-code-tags-properly

–Eric