Well, you could have an integer-value variable, which would start out at 0 and increment each time you click an object that hasn't already been clicked with an if statement (whether an object has been clicked, you could determine through having a boolean variable for each clickable object, which would be set to true at first and false).
Create event for the 6th text object
Create event for the 1st - 5th text object(s)
Step event for the 1st - 5th text object(s)
Code:
if [mouse cursor clicks on instances of certain object(s). This isn't actually a code part within the square brackets, but because this is a bit complex, I'd rather if you let me know whether you'd want me to elaborate on this]
{
if clickable != false
{
[6th text object instance name/position*].texts_clicked++;
}
}
*Position of an instance name can be deciphered through setting a variable (can be a temporary var variable in this scenario, I think) as instance_number() and text
If you ever wanted to know whether a piece of text was clicked, you could then make a check on whether that object's (or, I'm guessing, rather the instance's) variable is set to true, or may be false instead, and then have something be done afterwards like:
Step event for the 1st - 5th text object(s)
Code:
if clickable == false
{
//whatever you want to happen next
}
I may be wrong on some of these and there may be more effective methods to do this, but this is just off the top of my head. Hope this helps