Backpack/Hotbar Detection

  1. What do you want to achieve? I want to be able to create a datastore that saves a player’s backpack seperate from their hotbar, and the position of each item in their hotbar

  2. What is the issue? I do not know how to get the proper data to determine if a item is in the backpack (`) or hotbar (1-0)

  3. What solutions have you tried so far? I already have the datastores neccessary, i just need help figuring out how to find the afformentioned data. I’ve looked up youtube videos, disassembled open source scripts, and looked everywhere in this forum, but nothing matches my search

Below is the current UI i use to replace the natural inventory system. If possible, can someone help me find a way to get this data and properly transfer it to a table so i can put said table into a datastore. Also if possible, can you help me with taking the data from that table and assigning a slot for it based on its position
inventory.rbxm (24.5 KB)

Im pretty confident that if it is in the hotbar or not and where in the backpack in general it is isnt a thing, I believe the default backpack is a very basic one overall and not meant for what you are trying to achieve.
If you want to make this work I think you would have to use a custom backpack, either making one or using one of many already out there, some are even “open source” so I would recommend having a look around unless you really like making everything yourself

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