Noise Effect toggled when prefab spawns, then goes away when prefab disappears

I can’t for the life of me figure out this code, i have unity pro, yes, but i have tried but can’t figure out how to get the blur effect to despawn after the prefab despawns, here is the despawn code, attached to the prefab i want to toggle the noise effect on the main camera, i apologize in advance for my newbieness, but this effect is killing me, and help would be More than appreciated, i am using the first person controller, Any Help with getting this effect working would be More than appreciated

var lifetime = 1.0;

    function Awake()
    {
        Destroy(gameObject, lifetime);
    }
gameObject.GetComponent( "NoiseEffect" ).enabled = true;

To get a component to stop do gameObject.GetComponent(Component).enabled = false; do that before the Destroy

i can’t figure it out ):