Need help with custom inventory system

I’m developing a small game and want to implement a custom inventory system.
The system should display every item I own, including those in the hotbar.
When an item is clicked, I want the option to equip, unequip, or delete it.
I’m not directly asking for code, even a general idea can help.

Thx.

2 Likes

Hello! I will surely help you in this case.
You asked to have your own custom inventory system, this not too difficult but require some scripting experiences.
First of all, you need to create your own ScreenGui which contains slots that can be filled by the player’s tool thumbnail and you may ask, how to get these thumbnails?
You just need to for into the children’s of the player’s backpack and get all Instance that is a Tool and get their thumbnails to place them in those slots and if they don’t have a thumbnail, place a text.
If you want to add this equip, unequip system, you will need to create a script that detect whenever the player clicks on one of the slots, get the tool by the name for example and use the Humanoid#EquipTool(Tool) to force the player to equip the tool, and same thing for unequip.
Don’t forget to disable the backpack and slotbar CoreGUI of the player.
Sorry if it gets messy, and if you have other questions, ask them!
Sincerely!

1 Like

Hello,
Don’t wanna sound rude but, before posting on here PLEASE check if there is already a question / resource / tutorial about it!

There is a wonderful #resources:community-tutorials post about this, it explains everything in detail and how to make it-: Custom Inventory System: Full tutorial + Model - Resources / Community Tutorials - Developer Forum | Roblox

Hope this helps!

ooh thx, yeah I’ve tried to search something on the forum, but didn’t find much, thx.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.