How Would I Go About a Stacking Inventory System?

I’ve seen other posts about this, but none actually solved the issue. I would like to create a system that ‘stacks items’ that are similar, just like the game Deepwoken or Minecraft. I don’t currently have a screenshot of what I’m going for, but it’s just how most Minecraft items can go up to having 64x of them at once, and it shows how many of them you have in your slot. It would be built-in to Roblox’s inventory aswell.

Just detect if an item with the same ID (or name if you don’t use IDs) exists and if it does then just increase the quantity of that item.
You didn’t really give a lot of info so the answer is not gonna be that informative as well.

fair point; i’ll make the post more informative

This is not possible using the “default” Roblox inventory GoreGui if that’s what you’re hoping for. At best all you can do is make a custom UI similar to it, and use the Backpack instance inside the player to store the tools, and disable the Core UI itself. You can use indexing of the Backpack’s children to count how many of each tool is being stored and reflect this on your custom UI.

1 Like