The question is pretty self explanatory, but i would simply like to know how do i use the :debris function, on only one object and adjust the time that it will be removed.
✓ ANSWER ACCEPTED
How do i use the :Debris function?
1 answer
✓ Accepted answer
I believe what you actually want to learn is how to use the Debris service, or more accurately, the :AddItem() function.
local debris = game:GetService("Debris") --// Get the service
local part = game.Workspace:WaitForChild("Part") --// The part to remove
debris:AddItem(part,10) --// Removes the part after 10 seconds, not interrupting the code
Hope I helped!
~TDP
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
There's no such function. Are you referring to http://wiki.roblox.com/index.php?title=API:Class/Debris/AddItem ?