Old-man96 Old-man96 loading

MrKingofScratch wrote:

The problem with this is that the full song has to be played, then the script checks if the game started for like a frame, and then it plays the whole song again before checking if the game started again. You can fix this by seperating the script into two seperate chunks:

when green flag clicked
repeat until <(gameon?) = [y]>
play sound [music v] until done
end

when green flag clicked
wait until <(gameon?) = [y]>
stop all sounds
Let me know if this doesn't work- I hope it helped!
Thank you so much it did work I finally can finish my game!!