Okay. Great. I figured out how to add the slider…and the code…and I’m still getting an error. Let me back up. Here’s my word cloud:

I imported the file from Illustrator and did “Create Shapes from Vector Layer” and got 94 “Groups” under “Content” within my timeline item.
I added the slider & your first snippet of code to the slider:

And then I added your 2nd snippet of code to “Group 94”:

And then I get this error:

I’m confused. Clearly, the effect named “Slider Control” exists. I even tried to put the “Slider Control” effect on the null layer, but got the same error.
My end goal is to get each of the words in the word cloud to randomly appear (fade in). Then I want to export an animated GIF for a PPT deck (sadly enough).
effect("Slider Control")(1)
theArray = [];
seedRandom(index,true);
n = thisComp.numLayers;
for (i = 0; i < n; i++) theArray[i] = i+1;
for (i = 0; i < n; i++){
idx = i + Math.floor(random(theArray.length - i));
temp = theArray[i];
theArray[i] = theArray[idx];
theArray[idx] = temp;
}
i = Math.floor(time);
if (i >= 0 && i < n) theArray[i] else 0
content("Group 94").transform.opacity
timeStart = 2;
timeEnd = 5;
s =thisComp.layer(1).effect("Slider Control")("Slider");
mySeg = s.valueAtTime(index-.5)-1;
dur = timeEnd - timeStart;
n = thisComp.numLayers;
segDur = dur/n;
myStart = timeStart + mySeg*segDur;
myEnd = myStart + segDur;
linear(time,myStart,myEnd,0,100)