No sub-tasks.
This is four connected UIs: the Weapon Loadout (quota), the Quick Loadout (respawn kit), the Weapon Shop, and the Supply Depot. Each is described below.
[IMAGE: weaponLoadout UI]

A GUI that limits your guns based on a quota. This is where soldiers take out weapons from the central storage, but this UI also holds their private on-duty storage of tools and weapons. There must be a quota for taking things out.
Quota rules:
GUI (from the picture):
The items in here are your "resources" (the RESOURCE tag). Your loadout is resource-dependent, and the other UIs below add to or pull from this. You have to add qouta, and remaining tools text etc to the UI.
UI NAME: quickloadout
[IMAGE: QUICK LOADOUT UI]

The Quick Loadout UI is opened at the same time, inside the quartermaster room. You get a button on your universal keybind GUI to open it when you are at a speciic spot. It is seperate from the weaponloadout UI. It basically serves as a shortcut, so if you have enough tools, you get it automatically if you die or rejoin the game.
How it works:
Build note: edit the UIs so you can drag tools into the Quick Loadout (rearrange / change around the buttons to make the drag-and-drop work). However you cook it up is fine, as long as it's resource-dependent based on the weapon loadout.
[IMAGE: WEAPON SHOP UI]

named shop1
The shop is where you buy guns. There are two versions:
Army version: when you buy a gun, you get it on your Weapon Loadout page as a RESOURCE.
Civilian version: when you buy a gun, you just get it into your inventory. So if you're carrying too much weight in your inventory, you can't buy it. For civilian version use: shop2 UI, if army personnel buy from this Ui it just goes into their inventory not the loadout store thingy.
GUI (from the picture):
The Supply Depot is the division weapon buy page, reached from the tab in the shop. This is where there are supply problems and you can buy guns to add to your loadout quota, or other tools to add to your loadout inventory. Only a speicifc rank can buy using this.
Crates are marked:

Crates: here you buy weapons by the crate. Use the crates I have here and script it so:
Add notifications for: quick loadout saved, quick loadout spawn success (every spawn), not enough resources for quick loadout (error), purchase success, out of stock, inventory too heavy to buy (civilian), quota refilled, etc.