This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-01-02 16:51:28

Bricklink101
Scratcher
Registered: 2011-10-23
Posts: 34

[BUG] Script Constantly Not Working HELP

AGH! THIS IS THE MOST ANNOYING BUG EVER! Every time I make a script Like this:

When (Sprite) Clicked
If (Variable) = False
  Set (Variable) to True
If (Variable) = True
  Set (Variable) to False

Its SO ANNOYING. It should work, but NEVER DOES. Can someone PLEASE HELP!?!

Last edited by Bricklink101 (2012-01-02 16:55:38)


I cant think of anything to put here...  hmm

Offline

 

#2 2012-01-02 16:56:39

Bricklink101
Scratcher
Registered: 2011-10-23
Posts: 34

Re: [BUG] Script Constantly Not Working HELP

UGH!!!!!! I tried like 2 other ways to make it work and it STILL DIDNT.


I cant think of anything to put here...  hmm

Offline

 

#3 2012-01-02 16:57:43

Bricklink101
Scratcher
Registered: 2011-10-23
Posts: 34

Re: [BUG] Script Constantly Not Working HELP

THATS IT. can someone just make me a sound toggle button already? I think my scratch is corrupted. (Or its because im running on Windows, Probaly)


I cant think of anything to put here...  hmm

Offline

 

#4 2012-01-02 16:59:33

Bricklink101
Scratcher
Registered: 2011-10-23
Posts: 34

Re: [BUG] Script Constantly Not Working HELP

Ugh, I FINNALY GOT IT TO WORK.


I cant think of anything to put here...  hmm

Offline

 

#5 2012-01-03 12:34:37

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: [BUG] Script Constantly Not Working HELP

You need to do if else, or have stop script.

Offline

 

#6 2012-01-05 06:28:43

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: [BUG] Script Constantly Not Working HELP

There was an error in the script. If you run that script, here's what happens:
If it is false, it sets it to True.
Then it checks if it is True, and it now is true, so it sets to false again.

Offline

 

#7 2012-01-05 11:00:36

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: [BUG] Script Constantly Not Working HELP

You should've just put:

Wait until  Not Mouse down

at the end  wink


Why

Offline

 

#8 2012-01-09 06:05:36

Afrebynoe
New Scratcher
Registered: 2011-12-09
Posts: 3

Re: [BUG] Script Constantly Not Working HELP

RedRocker227 wrote:

You should've just put:

Wait until  Not Mouse down

at the end  wink

This should be put at the end?

Offline

 

#9 2012-01-09 18:54:21

CatPerson
Scratcher
Registered: 2011-12-17
Posts: 1000+

Re: [BUG] Script Constantly Not Working HELP

Bricklink101 wrote:

Ugh, I FINNALY GOT IT TO WORK.

_
Good Job!  _ I I
               I___I     Thunbs up!!!

/\_/\
I ' . ' I  CatPerson


http://nyopoliticker.files.wordpress.com/2012/02/in_dog_we_trust_rusty.jpghttps://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSrxH2RAmte9adghivuoOhgklIlUcZUFuCAA0wFufFq-NWyZWg5http://www.buttonsonline.com/2012/obama/BO-rallysign-104.gif

Offline

 

Board footer