Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I make a locker that doesn't have gaps between items?

I know how to make a locker for a shop, but how would I make it so it only shows the items I have got, instead of having 1 item that I have, then a blank space where an item that I don't have is, and then another item I have. I am trying to make it look a lot nicer. I think it has something to do with modifying the position of the GUI but am not quite sure. Thanks!

a.k.a the item only appears next to my other items when I unlock it, without big gaps between items.

2 comments

0

I have got no clue what your on about, Maybe take a screenshot?

0

So you know how in games like tower of hell, when you unlock an item, it just pops up right next to your already unlocked items? Well the only way I know to make a locker GUI is having the items all set in a specific location an making them visible when the player unlocks the item. This leads to gaps between items though, as players may not unlock all items in order.

1 answer

The way I would think of it is taking something replicatedstorage and using an UILayout of your choosing and cloning the new item into the gui... If you need more clarification please don't hesitate to ask.

2 comments

0

I have never used a UILayout before, I'm assuming it aligns GUIs in your choosing? Is it customisation, like could I specify the distance between each GUI?

0

Yea you can change the distance between each

This discussion is preserved as it was. New answers, comments, and votes are closed.