AddItem (Function)

From ROBLOX Wiki
Revision as of 12:38, 11 December 2024 by PRG (talk | contribs) (Created page with "{| |<onlyinclude> {{Function| name = AddItem |arguments = Instance '''item''', Float '''lifetime''' <default = 10> |returns = n/a |description = Adds that item to the Debris service, which will remove the item after the lifetime has expired, or the number of the debris items exceeds the MaxItems limit. |object = Debris |}}</onlyinclude> |} Categ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Function
Syntax AddItem( Instance item, Float lifetime <default = 10> )
Returns n/a
Description: Adds that item to the Debris service, which will remove the item after the lifetime has expired, or the number of the debris items exceeds the MaxItems limit.
In Object: Debris