[Script] Bag System

Hello!
So, I came here to request something for the big map I’m creating, and I hope someone can help me.

I want to add a Bag system. I’ve already designed the UI, but I don’t know how to implement the commands for it (I tried a lot, but it didn’t work, and I don’t know scripting).
Let me explain what I need:

First, about the map:

In single-player mode, you have 3 heroes.

In 2–4 player modes, each player has 2 heroes. (So the maximum number of heroes is 8.)

Each hero has 1 bag.

There won’t be two of the same type of hero on the map.

When you select your hero, I want there to be a button in the bottom-right corner to open and close your bag (each hero has their own bag).

The bag should have 15 slots (5x3).

Items inside the bag don’t have any effect and cannot be used.

The bag should support drag & drop.

The game’s default inventory should remain as it is, but items picked up should first go into the hero’s bag.

If you’re interested in helping me build this map, let me know and I’ll send you the map and the UI.
 

Attachments

  • IMG_20250901_004434.png
    IMG_20250901_004434.png
    4.1 MB · Views: 33
Back
Top