How do i make a custom backpack system

i already made the UI for my backpack system, but now i need a code for it to work.

all i need is a part to be stored inside the player’s backpack, and when double clicking the button it spawns the part above the character. is it possible to do that?

1 Like

Yes it’s definitely possible to do so, are you able to elaborate on if you mean like a custom inventory system as in like a replacement to the tools section or a fully custom UI where you store items.

so, it displays the part (top left), its description (bottom left), and you can select the part you want to equip using a selector (right side)

1 Like

Oh yeah then that’s definitely possible, you can do quite a lot on the client side and communicate with the server with remote events.

You would use a remote event to grab the data on what items they have, if we are saying they can have their own items then populate the UI accordingly then for the viewport just have it copy from somewhere like replicated storage inside a “Templates” folder or something else which you could utilise.

Most of this can be handled on the client such as the search, population [ With server-side communication ] and then for the actual equipping add a remote event with validation and then find the players CFrame within the workspace and clone the template but this time you’ll place it above the player as you wanted.

so uhh… question is how do i code it (im kinda new to scripting please forgive me if im asking too many direct questions or questions in general)

also im not too confident with data store

If you are new, i would rather not advice you to work on inventory, custom ones require a ton of stuff and securing both server and visuals can be tricky for you, the best thing you can do is to learn about gui methoods (events, what you can do with UIConstraints ect.) soo you can achieve grid like inventory or create moving slots

1 Like

In that case, how do I use the already built-in backpack system Roblox implemented? (Like in Fisch, where you hold your fish once you obtain it)

it still requires some work with folder structures and gui, learn more about data stores and overall inventories and you should understand it

1 Like