How do I make the winning racer get a text saying Congrats?

Hi, I have a game where there are two racers but I need the winning racer to get a text saying congratulations. How do I do that?
Please respond fast!

I can’t really help you if you don’t give more details. Seeing your script could also help. You could try to set a variable to true when the racer wins and enable a gameobject carrying a text saying “Congrats” when this variable is true.