Prevent duplicate items from being generated

It ended up like the image, but duplicates are still occurring. What could be the cause? I want to use the item taken from the array, but I’m not sure how to do that.

1 Like