Discuss Scratch

cokelinkster
Scratcher
68 posts

Stop Other Scripts In Sprite block isn't working

My browser / operating system: ChromeOS 14541.0.0, Chrome 146.0.0.0, No Flash version detected

I have a script that is supposed to go on forever, it looks like this
when I receive [ask for hints v]
forever
set [timer minutes v] to [29]
set [timer seconds v] to [59]
end

I also have a script in the exact same Sprite that stops this script and it contains a “stop other scripts in Sprite” the issue? its not working the stop other scripts button just isn't working.
stop [other scripts in sprite v]
this has happened a few times before but now its just getting ridiculous because the solution was always a “make another message to do it” which is just poor coding. does anyone know why this happens because this bug has bugged me for a while
mral8896
Scratcher
67 posts

Stop Other Scripts In Sprite block isn't working

this block basically never works if you need an alternative you can put this in the blocks you want affected:

wait until <(placeholder) = [1]>

or

repeat until <(placeholder) = [1]>

end

and then all you need to do is set up a block that changes it to one and/or back
(just make sure there is a when flag clicked block that sets it to 0)
Whitepatchwastaken
Scratcher
100+ posts

Stop Other Scripts In Sprite block isn't working

My browser / operating system: ChromeOS 14541.0.0, Chrome 138.0.0.0, No Flash version detected

Cannot recreate this. Tried with the following scripts:
when [space v] key pressed
broadcast (message1 v)
when I receive [message1 v]
forever
set [my variable v] to (13)
set [sdfgh v] to (37)
end
when this sprite clicked
stop [other scripts in sprite v]
Clicking the sprite always stopped the forever loop. Is there anything else in your code that might be impacting this? You might be restarting the broadcast every single frame or something.

Powered by DjangoBB