Untested, but this should work.
> + System: On start of layout
-> AdvancedRandom: Create permutation with Sprite.Count values starting at 0
+ System: Repeat 5 times
+ System: Pick Sprite instance AdvancedRandom.Permutation(LoopIndex)
-> (no actions)
Alternatively, rather than pick directly in the condition, you can save the randomized permutation numbers to an array or variable(s) for use later.
I'm sorry, but I'm not a programmer, and you write some code that is not accessible to me. I understand that there is a code in Construct 3 and you can somehow manually edit it. But this is too incomprehensible to me.
How to implement this without code with standard triggers?