GBX.lua.Debris (Service)

From Goodblox Wiki
Jump to navigationJump to search


Using the Debris service, you can have an object automatically clean it's self up after a set amount of time. It will also keep the objects from getting out of hand. Once the service is run, you can find it's object on the bottom of the list in the Explorer pane in the Studio. It's parent is automatically game, and that cannot be changed.

Note: This is a Game Service, and therefore isn't like other Objects in the Class Explorer. You have to call it with :
game:GetService("<Service name>")


Functions

In addition to the global functions, the Debris service also has these:


Properties

In addition to the global properties, the Debris service also has these:


Events

The Debris service only incorporates the global events.