// To remove a GameObject attached to this script instantly
Destroy(gameObject);
// To remove a GameObject attached to this script
//in certain time (5 seconds for this example)
Destroy(gameObject,5);
Destroy(this.gameObject);
Destroy(gameObject); //this will destroy.
//the game object is the object where the script is inside
Destroy(gameObject,f3); //this will destroy the object when waiting 3 sec
//destroying after the 3 seconds varible
float waitTime = f3;
Destroy(gameObject,waitTime)
Destroy(gameObject); //destroys the gameobject
//Destroys after 5 seconds
Destroy(gameObject, 5F);