RetroStudio Documentation
Code BlocksObjectsGuides
  • Index
  • Code Blocks
    • Code Block Index
    • Actions
      • General
        • Set Object Property
        • Get Object Property
        • Tween Object Property
        • Create Object
        • Destroy Object
        • Clone Object
        • Is A
        • Is Touching
        • Get Touching Parts
        • Get Connected Parts
      • Hierarchy
        • Find First Child
        • Find First Child Which IsA
        • Find First Child Of Class
        • Wait For Child
        • Get Random Child
        • Get Children
        • Get Descendants
        • Is Descendant Of
        • Is Ancestor Of
      • Physics
        • Make Joints
        • Break Joints
        • Set Part Network Owner
        • Find Part On Ray
        • Set Part Physical Properties
        • Get Part Physical Properties
        • Fire Rocket Propulsion
        • Abort Rocket Propulsion
      • Models
        • Move Model To
        • Set Model PrimaryPart CFrame
        • Get Model Bounding Box
      • Sounds
        • Play Sound
        • Stop Sound
        • Pause Sound
        • Resume Sound
      • Leaderstats
        • Create Leaderstat
        • Get Leaderstat
    • Input
      • Mouse
        • Click Detector Interaction
        • Get Mouse Target Part
        • Get Mouse Target Surface
        • Get Mouse Position 2D
        • Get Mouse Position 3D
        • Left Mouse Down
        • Left Mouse Up
        • Right Mouse Down
        • Right Mouse Up
        • Set Mouse Target Filter
      • Keyboard
        • Key Down
        • Key Up
      • GUI
        • GUI Mouse Enter
        • GUI Mouse Leave
        • GUI Mouse Moved
        • GUI Mouse Wheel Up
        • GUI Mouse Wheel Down
      • GUI Buttons
        • GUI Left Click
        • GUI Left Mouse Down
        • GUI Left Mouse Up
        • GUI Right Click
        • GUI Right Mouse Down
        • GUI Right Mouse Up
      • Text Box
        • Text Box Focused
        • Text Box Focus Lost
    • Miscellaneous
      • Variables
        • Set Variable
        • Print
        • Warn
        • If
        • Type Of
      • Loops
        • For Loop
        • While Loop
        • Loop Through Table
        • Loop Through Children
        • Loop Through Descendants
        • Break Loop
        • Continue Loop
      • Functions
        • Define Function
        • Function Return
        • Execute Function
      • Run
        • Wait
        • Do Not Run
        • Execute Block
        • Render Stepped
      • Run
  • Objects
    • Objects Index
    • Instances
      • Accoutrement
      • Animation
      • Backpack
      • BillboardGui
      • BindableEvent
      • BindableFunction
      • BlockMesh
      • BodyAngularVelocity
      • BodyColors
      • BodyForce
      • BodyGyro
      • BodyPosition
      • BodyThrust
      • BoolValue
      • BrickColorValue
      • Decal
      • Dialog
      • Explosion
      • Fire
      • Smoke
      • SpawnLocation
      • SpecialMesh
      • Team
      • Texture
      • Tool
      • Truss
      • Weld
    • Services
      • Workspace
      • Players
      • Lighting
      • StarterGui
      • StarterPack
      • Debris
      • Teams
      • Soundscape
  • Guides
    • Guides Index
    • Simple Guides
      • Intro to Loops
      • How to make a Debounce Script
Powered by GitBook
On this page
  • Data
  • Behavior
Edit on GitHub
  1. Objects
  2. Instances

Backpack

PreviousAnimationNextBillboardGui

Last updated 1 year ago

Description

A container object that holds a Player's inventory. Any in a player's Backpack will be displayed in their inventory at the bottom of their screen. Selecting Tools from the inventory will equip the Tool, moving it from the Backpack to the player's character.

The Backpack can also store Scripts and LocalScripts, which run when placed in a player's Backpack.

When a player's character spawns, the contents of the StarterPack and their StarterGear are copied into their Backpack. Once a character dies, the Backpack is removed and a new one will be created -- populating it with the contents of StarterPack and StarterGear.

Available to

Data

ClassName (String)

Backpack

Name (String)

Backpack

Parent (Object)

workspace

Behavior

Archivable (Boolean)

true
Tool