Roblox UtilitiesDevlHub Roblox Documentation

Class

Backpack

Inherits
Instance › Object
Memory category
Instances

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.

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:

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed