The current thread cannot access 'StreamingService' (lacking capability Assistant)

This happened to me, it was because of the Animated Textures plugin. I uninstalled it and after that, everything was fine. No idea.

If youā€™re gonna do it like that, you may as well just not check every single thing in existance.

This will only check if the gameā€™s children are StreamingService. So only about 110 instances rather than the 7000 I currently have in my game. And thatā€™s a small one.

for _, service in ipairs(game:GetChildren()) do
    if service == game.StreamingService then continue end
    for _, descendant in ipairs(service) do
        -- your code here
    end
end

Also, the reason why this happens in the first place is because they changed the StreamingServiceā€™s properties and functions to only be accessible to the AI assistant.

So for example, when you loop over all descendants and check their ClassName it tries to check the StreamingServiceā€™s ClassName at some point.


Best regards,
Pinker