> For the complete documentation index, see [llms.txt](https://vopwn55.gitbook.io/powerlang-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vopwn55.gitbook.io/powerlang-docs/libraries/services/debris.md).

# Debris

The **Debris** service allows you to automatically delete `Instance` objects after a specified amount of time without blocking the thread.

| **Function**                                   | **Description**                                                                                                                                                                                                                                                |
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AddItem(Object: Instance, Time: number): nil` | Adds an object to the `Debris` service, which automatically removes the object after a specified amount of time. Requires 2 arguments: `Object` (an instance to be added) and `Time` (a number representing the time in seconds before the object is removed). |
