"get all actors with tag" means random?

Get all actors with tag does not get them in a certain order like you expect. One time actor A will be first, the other time actor B. It does not know they should be in a specific order. Im not sure what your expected result is… if you want all actors to have the same materials you need a forloop, not do n loop. And the indexes you are setting would probably be 0,1,2 and not 0,0,3.