jumpscare only ince ?

Hello , I have this jumpscare script

#pragma strict

var Monster : GameObject;

function Start () {

Monster.SetActive(false);

}

function OnTriggerEnter () {

     Monster.SetActive (true); }

function OnTriggerExit () {

 
   Monster.SetActive(false);
   
     }

but i want the gameobjet that i attached to the script to appear only once because whenever i tag the trigger the game object appears
any ideas ?

Just Destroy this component when you are done with it:

function OnTriggerExit () {
    Monster.SetActive(false);
    Destory(this);
}