snake game, the problem with the clone of the snake

I have solved the old problems, now got new problem. Every thing is working fine except new snake, when the first snake dead the new snake is creating but its not performing like the old snake.I tried to figure out the problem, i got to know that the problem is when ever the new snake got created the Snake script(CHECK BOX) in the inspector is getting unchecked, if I tick that check box the snake is working fine otherwise its not working. One more problem is that i SmooothFollow camera is not following the new snake.

var speed = 5.0;
var food : Transform;
var snake : Transform;

function Update () 
   var x = Input.GetAxis("Horizontal") * Time.deltaTime * speed;
   var z = Input.GetAxis("Vertical") * Time.deltaTime * speed;
   transform.Translate(x, 0, z);
function OnCollisionEnter(theCollision : Collision)

 if(theCollision.gameObject.tag == "Food")
   Debug.Log("Hit the Food");
   var position = Vector3(Random.Range(-3,10), 0.284 ,Random.Range(-10, 10)); 
   Instantiate(food, position, Quaternion.identity); 
   if(theCollision.gameObject.tag == "Wall"){
     Debug.Log("Snake hit the wall");
     Debug.Log("Snake dead");
     Instantiate(snake, Vector3(Random.Range(-3,10), 0.375 ,Random.Range(-9, 9)), Quaternion.identity); 
     Debug.Log("Camera for the Snake");
     gameObject.Find("Main Camera").transform.position = Vector3(0,7,-15);
     Debug.Log("Got new Camera for the Snake");

Can any one help me out in solving this problem..........

Find the 'snake' prefab in the Project files. You'll most likely find that the 'Snake' script is unticked on it as well. Instantiating should create an exact copy of that object, so ticking it and saving should fix your problem.

Let me know if this doesn't solve it for you!

I got to solve that problem, but not in the way you said. I changed some code, instead of destroying the snake before cloning, we have to destroy that after cloning. Thanks for your reply dude. Can i have some idea on the tail part, this 3d snake game and when the snake eat food the tail of the snake should grow, any idea or script(java script) you have

But the soomthfollow camera is not following the cloned snake.

Can any one tell me how can i do the thing. The smoothFollow camera is not following the cloned snake. But its follow the original snake.