I'm trying to have a message/notification appear in the top-left of the screen when a certain event happens. The first time the event happens, it works fine and the text appears. All subsequent times after that, the message shows up between three and ten times in a row. I can't figure out what's causing it. Any idea what I've done wrong in my lua? Pictures and code below.
How it looks the first time (no problems here):
How it looks each subsequent time (problem):
Here's the code that runs this:



