Grab all Collectables to Win!

I tried a few different methods with the GetAllActorsOfClass. And even tried making a function, but still no luck. I’m probably making a dumb mistake but I don’t understand what.
This is what I set up.