Script not working

So I have made a script for a game that doesn’t work and I have no idea why. can anyone spot anything that could be wrong with it? I’m trying to make it when I get a hoop with a basketball, it plays an animation, but it only works for the first hoop. after I get 1 and it plays the animation,it wont go any higher/play any more animations.

var Enter = false;
static var Point;
var LOL : AudioClip;
var one : String;
var two : String;
var three : String;
var four : String;
var five : String;
var six : String;
var seven : String;
var eight : String;
var nine : String;
var ten : String;

function OnTriggerEnter (other : Collider){

if (other.gameObject.tag == "BasketBall") {

(Enter) = true;
audio.PlayOneShot(LOL);

}

}





function OnTriggerExit (other : Collider){

if (other.gameObject.tag == "BasketBall") {
(Enter) = false;
}
}


function Update(){

if(Enter == true){
Player_Money.players_money++;
}

if (Player_Money.players_money == 1){
  gameObject.animation.Play(one);
}

if (Player_Money.players_money == 2){
  gameObject.animation.Play(two);
}

if (Player_Money.players_money == 3){
  gameObject.animation.Play(three);
}

if (Player_Money.players_money == 4){
  gameObject.animation.Play(four);
}

if (Player_Money.players_money == 5){
  gameObject.animation.Play(five);
}

if (Player_Money.players_money == 6){
  gameObject.animation.Play(six);
}

if (Player_Money.players_money == 7){
  gameObject.animation.Play(seven);
}

if (Player_Money.players_money == 8){
  gameObject.animation.Play(eight);
}

if (Player_Money.players_money == 9){
  gameObject.animation.Play(nine);
}

if (Player_Money.players_money == 10){
  gameObject.animation.Play(ten);
}

}

this is just a thought. your Player_Money.players_money++; is in your update() function and every frame it adds 1.
by the time you make another shot your Player_Money.players_money would have been more than 10. maybe that’s why it’s not playing anymore.

try doing your update function like this:

        function Update(){
         
        if(Enter == true){
        Player_Money.players_money++;
        Enter = false;
        }
// the rest of the code