Please help me fix this!

My Project12-29-2025_21-45-55.wick (55.1 KB)
So the smiley face button is kinda broken.
the code is

if (lol==num){
    gotoAndStop(7);
    }else{
    eoeo.setText("wrong!");
}

but it keeps going to the 7th frame even when the square thingies are not the same.

I fixed it!

lol = 10; //  INCORRECT!
var lol = 10; // Correct, but on other events and objects, you won't be able to access it.
project.lol = 10; // Best, you can re-use this on other objects, but you'll need to access it as project.lol.
this.lol = 10; // Same as project., but it's localized to your clip.

fixed.wick (53.9 KB)

1 Like

ty