How would I create a custom backpack like this?

I want to achieve an custom inventory system such as the inventory of Super Doomspire or this:
https://mobile.twitter.com/ChiefDaysRBLX/status/1112108490409992192

The issue is whenever I try to make it I come to an dead end, yes I have seen Shirooo’s video, but it’s outdated and isn’t what I mean.

I have tried Shirooo’s video, I’ve tried putting images under the tool items but that doesn’t look realistic and that’s kinda where I got to an dead end.

If any of you can help you will be rewarded in my game with the upcoming currency and will get an chat tag.

I’m not specifically asking for a full script, but it is welcome anyways.

-Daniel

3 Likes

You would use a in pairs value to get the name and/or image of your tools, other then that It would be you making the UI add a new backpack frame per item,

If you want to click to equip you would use toolInBackpack:Equip() which would automatically equip the item on click, I would suggest disabling the built in backpack service aswell if you want to achieve this, I would look further into research into this in our community pages as there are posts already about this,

To achieve disabling the built in backpack you would use:
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

Hope this helps!
Be sure to always look around the forums for already made posts regarding your questions before creating one as this can be a huge time saving on your behalf instead of waiting for a response!

:blush:

1 Like

I have but I haven’t found a solution YET.

I have given some basic ideas on how to achieve this, majority of it would be UI programming such as tweenservice.

1 Like

I haven’t learned Tweening yet but it is a big help tho. Thanks.

You can use LocalScripts and ModuleScripts to achieve this. In scripting, you would need to use Tween Service, disable Default Roblox Backpack, and use Mouse Events. and also include stuff like in pairs and etc…

Basically create an folder, that will store items there. You may need to use 3 folders, one will hold 2 folders. Like this:

  • Backpack
    • a
    • b

They will store items that player can quickly access by keyboard events like 1, 2, 3, 4, 5, 6, 7, 8, 9. The second folder will store all other items that player can move around to quick access and to actual backpack.

You could loop through those folders using for _, v in pairs() do method. Then display items in correct place, and create variety of events to enable player to move those items around, you can use Tween service to make those moves smooth.

3 Likes

i know this is a dead post, but have you found something yet? most videos ive seen arent what im trying to do and there are like no devfourms which do either, if you havent found anything then how might i get a tool’s name or image and put it into a text label/image? im new to scripting and ive tried texlabel.text = tool.name and imagelabel.TextureId/imageid = tool.imageid/textureid but it wont work.

1 Like