Smooth random.Range Light flicker?

Hi guys, I’ve made a flickering light but its intentatious, is their a way to slowly smooth out the timming to make them look like explosions then flickering street light?

using UnityEngine;
using System.Collections;

public class Lightflash : MonoBehaviour {

	public Light testLight; 
	public float FlashIntensity = 8f;
	public float Flashspeed = 30f;


	void Start() { 
		testLight.intensity = 0f; 
	}


	void Update () {
		//make light flash from ) to 8.0  over time.
		testLight.intensity = FlashIntensity * Random.Range(0, 8) * Flashspeed * Time.deltaTime;  


	}


}

Hi @zak666

Why you need Random.Range(0, 8)

float time1;

void Start()
 { 
         testLight.intensity = 0f; 
         time1 = Time.time + 8.0f;
}
 
 
     void Update () {
         //make light flash from ) to 8.0  over time.
if(Time.time <= time1  )
{
 testLight.intensity = FlashIntensity * Flashspeed * Time.deltaTime;  
}
        
 
 
     }