Onion's Backpack System-BROKEN ATM, DO NOT USE

–WORKING ON UPDATE AND TUTORIAL–

I have released a new module based system that can do what the Roblox system can, but with more ability to customize!

Why use this module?
-You can implement your own methods to improve the functionality and style the code in the way you want it;
-Includes two basic variables, UI enabled and Equip timeout;
-Straightforward and easy to use;

How would I access the physical folder of the backpack?
-The physical folder is under the Player, named ‘CBackpack’, which having a physical location allows you to implement .ChildAdded and .ChildRemoved events;

How do I use it?

To start off, grab the module here.

Next you can go ahead and place it in either server storage(recommended), or anywhere you’d like.

Create a script inside ServerScriptService, name it whatever you’d like. This will be our main handler. Your explorer should look like this:
image

Next go ahead into the script and add these basic few lines of code:

How do I add a tool into the backpack?
Simple. Use the data and run :AddObject(tool, keybind(1-8))

Now it will automatically bind your key, and run Equip and Unequip as necessary!

How do I remove the tool?
Simple. Use the data and run :RemoveObject(tool)

How do i know when a tool got equipped?

How do i change variables or add methods?
Variables are their own module under backpack:

You can change the code or add your own methods in the ‘Object’ module.

How do I edit the UI?
image

The backpack is the actual GUI, you can edit it by dropping it into starterGUI and editing it.
The template is the actual box for the tool, you can edit it the same way.

What if I wanted to change data through another script?
You can use service:GetBackpackData(player) and run methods from there.

If any bug occurs or you would like anything added, please let me know. Thank you for taking the time to read this!

9 Likes

Do you have a video showcasing this?

4 Likes

I will make one when I get back home for sure.

1 Like

He never posted the video… Much sad.

Maybe home is very, very, far away…

@AmVeryBigProLol ,

  1. is this only a backpack system and not a hotbar system?

  2. What devices does this support?

  3. Does it have slot limiting? like you can only have 6 slots and NOTHING goes overflowing into the backpack. meaning no backpack?

  4. Does it have tool stacking of the same tools, like 3 grenades stack in slot 1?

  5. Does it have tool slot drag and move to different slots, ie move tool by dragging it from 1 to 4?

  6. Does it have tool drag and drop, to empty a slot?

  7. if this is only a backpack system, could it be used to not allow anything to go into the backpack?

Thanks

1 Like