Roblox API Reference

Debris On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (4)

Type Member History
int MaxItems
null AddItem (Instance item, double lifetime = 10) 573
null SetLegacyMaxItems (bool enabled) 573
null addItem (Instance item, double lifetime = 10) 573
57 members inherited from Instance

History

Members

AddItem On DevHub

Name Type Default
item Instance none
lifetime double 10

History

MaxItems On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.

Tags: [Deprecated]

SetLegacyMaxItems On DevHub

Name Type Default
enabled bool none

History

addItem On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
item Instance none
lifetime double 10

History

Tags: [Deprecated]

Relevant classes (1)