Text to speech Java script

I want to make a TTS block but I don’t know how to make the JavaScript block for it and the projects using TTS didn’t work in any way so can somebody show me a picture of the block with the needed text inside?

Edit: I finally found librarys
Snap! 6.3.1 Build Your Own Blocks

There is an existing TTS block in the libraries