Skip to content

Class · inherits Instance

Backpack

Official docs ↗

A container object that holds a player's inventory. Any Tool in a player's Backpack will be displayed in their inventory at the bottom of the screen.

About Backpack

Tool objects in the Backpack container make up the player's inventory and display as icon buttons at the bottom of the screen. See in‑game tools for more information.

When a player's character spawns, the contents of StarterPack and the player's StarterGear clone to Backpack. When the character dies, the client destroys the Backpack and replaces it with a new one, populated again with the contents of StarterPack and StarterGear.

To disable the default Roblox inventory GUI and replace it with your own, call StarterGui.SetCoreGuiEnabled in a LocalScript as outlined in disable default UI.

Backpack can be accessed from both the client and the server:

Backpack also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.