How would one make item boxes that could be collected?

I am trying to make collectible boxes that spawn across a map. I have it sort of working but I am using a for loop to go through all the instances of the box and it is really slow fps. I don’t think I could make m project into a playground one but are their suggestions on how to make something like this?

Hey!
It’s gonna be tricky to help without a repro :frowning:

Can you share your code at least?