How do you solve when click to next screen, text to speech still playing?

i made like toefl simulation which mean making an quiz using text to speech, when last question of toefl quiz done, text to speech still playing in the next screen (score screen)

how to solved it ?

Try a search on the community ?

Check out this post, found using the web search @TIMAI2 provided:

Have the textToSpeech component speak an empty string right before opening the next screen.

no when, go to next screen still playing

Do you want it to stop, or to keep playing, when you go to the next screen ?

stop becasue next screen is score creen

its like automatic stop when you completly answer all question

What is wrong with @SteveJG 's solution then ?