CyberMax
Inventory Hotbar Kit · Inventory System for Roblox developers

A backpack and hotbar that never lose an item

A slot backpack with stacks, move, merge, split and sort; a hotbar that follows items when they move; equipment slots with stats; usable items with cooldowns; world drops and pickups; search, tabs and a storage counter; saving. Every number from a client is checked, and a 3,000-step test counts every item.

11 modules + 3 example scripts2,202 lines of original Luau31 tests passing.rbxmx + Rojo

For: Roblox developers building RPGs, survival, simulator and adventure games that need a real inventory.

See it work: a real play session, recorded from the shipped code

One backpack, 12 steps

Each step is a real call on the kit's Backpack; the grid shows the snapshot the server sends to the client after it.

3,000 random steps, every item counted

931 adds, 463 removes, 867 moves, 538 splits and 201 sorts with a seeded Random. What should be in the backpack against what is:

ItemExpectedCounted
Wood776776match
Stone1,0021,002match
Iron Ore100100match
Apple2020match
Iron Sword22match
Leather Cap00match

Searching the recorded backpack for "iron" returns: Iron Ore ×30. Storage counter: 8 stacks, 197 items.

12 bad requests, each tried for real, each refused

What the client sentThe server's answer
Move from slot 0Refusedbad slot
Move from slot 1.5Refusedbad slot
Move from an empty slotRefusedempty slot
Split more than the stack holdsRefusedbad count
Split a fractionRefusedbad count
Drop a negative countRefusedbad count
Drop a locked stackRefusedlocked
Use WoodRefusednot usable
Equip an AppleRefusednot equipment
Pick up from 500 studs awayRefusedtoo far
Pick up someone's fresh dropRefusednot yours yet
Pick up a drop that is goneRefusedgone

What's inside

ModuleRuns onWhat it doesLines
InventoryServerA slot-based backpack with stacks.459
ItemBookSharedEvery item in your game: its name, category, rarity, stack size and what it does.89
HotbarServerQuick slots that point at items, not at inventory positions, so sorting or moving things in the backpack never breaks the bar.153
EquipmentServerNamed equip slots (Weapon, Head, Body…).118
BackpackServerOne player's whole kit in one object and one save: the inventory, the hotbar and the equipment.52
ActionsServerUsing and dropping items on the server, with cooldowns and your own effects.110
PickupsServerItems lying in the world.148
TradeBridgeServerLets players trade one-of-a-kind backpack items (gear, collectibles) through the CyberMax Pet Trading Kit, or any system that takes the same six functions.95
Query (free)SharedSearch, filter, sort and count what Inventory:Snapshot() returns.99
RateLimit (free)SharedA token bucket per player per action, so a spammed remote costs you nothing.55
Signal (free)SharedA tiny event object so your UI and systems can react to inventory changes.49
Example scriptTypePut it in
BackpackConfigModuleScriptReplicatedStorage
BackpackServerScriptServerScriptService
BackpackClientLocalScriptStarterPlayer > StarterPlayerScripts

Tested like real software

31 automated tests run in a real Luau VM against a Roblox engine mock, on luau-web 1.4.0 (Luau compiled to WebAssembly). They ship in the zip: cd tests && npm install && node run.mjs.

SpecPassingFor example
bridge1/1TradeBridge exposes one-of-a-kind items, moves them with their data, and holds them with a lock
demo1/1demo: a recorded play session, the refused requests and the 3,000-step item count
example6/6example server: a new player gets the starter kit, a hotbar and a snapshot …
inventory13/13ItemBook checks the config and fills in defaults …
parts10/10Hotbar points at items, not positions: sorting and moving never break it …

Install in 5 minutes

  1. Drag InventoryHotbarKit.rbxmx onto ReplicatedStorage in Roblox Studio.
  2. Drag InventoryHotbarKitExamples.rbxmx in and move the three scripts to the services above.
  3. Turn on Studio access to API services and press Play. INSTALL.md walks through an example place step by step.

FAQ

Is this allowed on Roblox?

Yes. It's ordinary Luau using Roblox's own services (DataStoreService, MarketplaceService, Players). Nothing bypasses Roblox rules.

Why not a free model from the Toolbox?

Free models are a fine start. Inventory Hotbar Kit ships its tests (31 of them, run in a real Luau VM), validates every remote argument, and is original code with a clear licence.

Do I need Rojo?

No. Drag the .rbxmx files into Roblox Studio. A Rojo project file is included if you use it.

Can I use it in a game I sell or a client's game?

Yes: unlimited experiences, commercial or not, for you or your clients. You can't resell or share the code itself.

Is CyberMax affiliated with Roblox?

No. Roblox and Roblox Studio are trademarks of Roblox Corporation, named only to describe compatibility.

More tested kits

HatchwrenPet & Egg SystemPet Trading KitTrading SystemStallwrenShop & Currency SystemGavelwickAdmin CommandsMillwrenTycoon KitQuestwrenQuest & Dialogue SystemSalvowickFPS Combat FrameworkRoundmoorRound & Match SystemDevEx calculatorFree: Robux to USD at 2026 rates
Roblox and Roblox Studio are trademarks of Roblox Corporation. Inventory Hotbar Kit is made by CyberMax and is not affiliated with or endorsed by Roblox Corporation.

Free: the Roblox Starter Kit

7 free Luau modules (damage, pets, shop formatting, admin audit log, tycoon guards and more) plus 3 free calculators, then 5 short emails with the scripting fixes we see go wrong most often.

You get one email to confirm first. Then the kit, and 5 short emails over two weeks. One-click unsubscribe in every email; we never share your address.

$8Get Inventory Hotbar Kit