How can I create New GameObject (Instantiate)

hi, I have an animated cube from side to side frames 100 and my problem is that when it collides with a box Colider destroy it and does not born again and this is my script:

function OnCollisionEnter(){ Destroy(gameObject); }

Can you show me an example, how to create a script ?

It would have took you longer to write this post than find an example…

http://unity3d.com/support/documentation/ScriptReference/Object.Instantiate.html

Just LOOK at all the those examples right there on the reference…