HUD text doesn't stay the same and won't stay visible when a bool is added. How can I make it so that the text is only changed once?

Pretty much, I’m trying to make something that shows a bit of text as a random amount of damage from 1-8 or text saying “Miss!”, but every time I run the program, it doesn’t stop changing, but when I put in a boolean to make sure that it doesn’t continue to change, the text ends up going away.

How can I fix this?

Maybe a more robust way to tackle this would be to create a variable that holds the “HitOrMisText”
And bind that to your Text in your widget

320366-hitormisstext.png

And then have an event that you fire every time you want to draw, that edits your text.

Thank you, this worked perfectly.