GBX.lua.Backpack (Object)

From Goodblox Wiki
Revision as of 19:55, 23 September 2021 by Xyrafrost (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The Backpack object is a container that holds a Player's inventory. In the current release of GoodBlox, it can hold both HopperBin and Tool objects.

Scripts and LocalScripts also run when placed in Backpack.

When a player spawns, the contents of the StarterPack are copied into the Player's Backpack, and the contents of the Backpack are replaced. Once a Player dies, all objects in the Backpack are removed.

Functions

The Backpack only incorporates global functions.

Properties

The Backpack only incorporates global properties.

Events

The Backpack only incorporates global events.