generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

debris service

Previous Thread :: Next Thread 
carbondudeoxide is not online. carbondudeoxide
Joined: 04 Mar 2011
Total Posts: 556
04 Aug 2011 03:27 PM
hi guys im having trouble on how to use the debris service...

how would i add a part to the debris service so it is removed after a cirtain amount of time?!?!
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
04 Aug 2011 03:29 PM
game:service("Debris"):AddItem(Instance.new("Part",workspace),1337)
Report Abuse
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
04 Aug 2011 03:29 PM
TimeToRemoveInSeconds = 6
game:service("Debris"):AddItem(workspace.Part, TimeToRemoveInSeconds)
Report Abuse
carbondudeoxide is not online. carbondudeoxide
Joined: 04 Mar 2011
Total Posts: 556
04 Aug 2011 03:36 PM
thanks guys massive help =D
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
04 Aug 2011 03:41 PM
I like how you can use variables to easy point out things:
local ObjectToBeRemoved, GS, TimeToWaitBeforeTheObjectIsRemoved = Instance.new("Part", workspace), game:GetService, 3

GS("Debris"):AddItem(ObjectToBeRemoved, TimeToWaitBeforeTheObjectIsRemoved)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image