How would i make a loadout like gui?

Alright so, I want to make a loadout system like a Tower Defense game in General. it will be something like this


The red circle will be the slot of the equipped items you want to use and the black is just an exp bar but the exp aint a problem here.
And the towers are stored inside a table using a data store, Is there a possible way i could do something like this?

Incase if you dont get it, its like if you equip an items the item will show up in the left red circles and so it goes from left to right with maximum of 5 items.

You can name the uiObjects slot1, slot2, etc. then when you loop through them to add the data, just check which slot it is.

so like a for loop would do it? tried it but seems to not work