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)
Offline
UGH!!!!!! I tried like 2 other ways to make it work and it STILL DIDNT.
Offline
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)
Offline
Ugh, I FINNALY GOT IT TO WORK.
Offline
You need to do if else, or have stop script.
Offline
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
You should've just put:
Wait until Not Mouse down
at the end
Offline