Discuss Scratch

Nesstalgia
Scratcher
1 post

hello how i prevent music loop with forever script

i need little help i am making my game and having little trouble
whenclickedplaysoundtile screenuntildoneforeverplaysoundtitle screen loopuntildone
iluvegames
Scratcher
76 posts

hello how i prevent music loop with forever script

Okay, what is the problem?
(what do you want the script to do?)

Last edited by iluvegames (Nov. 4, 2019 20:02:44)

SuperSheep99
Scratcher
91 posts

hello how i prevent music loop with forever script

If you want to prevent music loop then… why put it there at all?
Monna-Uka
Scratcher
1000+ posts

hello how i prevent music loop with forever script

repeatuntilcheck=1ifcheck=1thenstopallsoundselseplaysounduntildoneforeverifkeypressed?thensetcheckto1stopallsounds
Hope this works.
FeatherflightGames
Scratcher
9 posts

hello how i prevent music loop with forever script

Try this:

whenspacekeypressedifLoop?=offthenset Loop?toonelsesetLoop?tooffifLoop?=onthenforeverplaysound-insert song here-untildoneelseplaysound-insert song here-untildone

Powered by DjangoBB