How do I make actions happen when clicked and not when holded

I am trying to make a game. First time using this so its a bit sloppy. But I have a problem: When I click on text it repeats the same action. Here’s my code rn:


Please Help!

Look if this helps.
image
When mouse is down that means user is holding and when it’s released that means user clicked.

note: inverted mouse down and mouse released is not same

thanks for this, I will try it

1 Like