Some things you may wanna look at. Check line 12, you are only setting itemTextAdd[1]
over and over for every object that goes through regardless of the index. Try changing itemTextAdd[1]
to itemTextAdd*
. Second ,before your for loop you set itemTextAdd
to only be game objects with the tag “Item”, so the if statement within would be unnecessary, since it’s just checking to see if they have the tag “item” which they all would.*
@HellsHand Right, the itemTextAdd[1] was a typo, and i only added that if statement in a poor attempt to prevent it from crashing.