"You win" showing up too early?

Use this template to make awesome bug reports:

What kind of device are you using?:
Idk
1 sentence description of the problem (I was doing _________, and then __________ happened):
Well when I play the project you win comes up and that’s not supposed to happen??
Steps to make the problem happen:

  1. Play the project when it isn’t glitching like crazy (a different bug)
  2. You win shows up???
    ….

I expected this to happen:
Clear screen, no you win
But instead this happened:
“YOU WIN” and the game JUST started
Here’s a sweet screenshot:

4 Likes

Maybe it's something wrong with the project? Try checking code. Can I see the link?

1 Like

The code





Two different objects in those pics btw

1 Like

It's not published yet. I don't see what's wrong with the code.

1 Like

You can publish, take the link then unpublish it. :slight_smile: it's much easier.

1 Like


There's another glitch where you refresh the project and pay tax shows up and it is not supposed to??

1 Like

When do you want " You win!" To show?

1 Like

I figure out why Taxabgle is not working. Here’s why:


The when rule is the one that makes it visible when you don’t want it to. The default value is ‘0’ (before you set any value)

1 Like

Hm...
Thanksgiving. I'll fix that later. Have you figured out the you win?

2 Likes

Whoops. I haven't check the "You Win!" part. I forgot. I was watching The Thundermans. Anyways, when do you want "You Win!" part to appear? Oh and can you give me credits? Thx

2 Likes

I have done most of the code, so therefore you only need to find what made you win appear.
And I was just thinking about the thundermans lol

1 Like

Well idk how to fix that because I feel I tried to I'd probably mess up the whole game

1 Like

Wait, so your 21savage now?

1 Like

@92873636626291019191

"You Win" shows up when the project starts because you have coded:

When (Alright, invisibility as a %) = 0 /// This occurs when the project starts, even if you immediately change it in a When Game Starts for the object
... Set value (Determine) to 1
... Set value (Invis Alright object) to 1

Then there's this:
When (Invis Alright object) = 1 /// set to 1 by previous When
... If (Determine) = 1 /// set to 1 by previous When
... ... Set Text to "You Win"
... ... Vis

So the text becomes visible right away

5 Likes

Excuse me, but you know The Thundermans! Cool!

1 Like

Hey um can someone help me fix the code....

So put a wait block in front!

1 Like

Put a wait block in front.
Like wait 200 milliseconds.

1 Like

In front of what code

1 Like

At the very beginning of the code.

1 Like