JavaScript - if loop stopping and not working :     if (skin_var == 1) {
            skin = "%kraken";
            
            skin_var = 2;
        }
        if (skin_var == 2) {
            // this won't activate
            skin = "%mercury";
            
            skin_var = 3;
        }
        if (skin_var == 3) {
            skin = "%shark";
            
            skin_var = 4;
        }
        if (skin_var == 4) {
            // this won't activate either
            skin = "%banana";
            
            skin_var = 5;
        }
        if (skin_var == 5) {
            skin = "%nuclear";
            
            skin_var = 6;
        }
        if (skin_var == 6) {
            skin = "%space_dog";
            
            skin_var = 7;
        }
        if (skin_var == 7) {
            skin = "%t_rex"
            
            skin_var = 8;
        }
        if (skin_var == 8) {
            // gets stuck right here
            skin = "%spy"
            
            skin_var = 1;
        }

That's my code above. As you can see by the comment lines, they always don't work or get stuck at some point. Any more effecient way to do this or how to fix it? ( i just want to change skin to something every second forever, and i have used setInterval(); but it only seems to do "%kraken" to "%shark" to "%nuclear" to "%t_rex" and then it cycles before i added "%spy" )