How do i use the end game widgit?

I want to have a message that shows when the game ends but im not sure how to do it

you just type in whatever you want it to show on the text (I think)