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
 

Re: Debris (Roblox Service)

Previous Thread :: Next Thread 
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
31 Jul 2013 01:46 PM
Hello,

I was just wondering, but.. can you somehow use these two lines in the same script if the items (coin and lava) were created from instance? My script worked with one, but when I added a second line with different arguments the script ignored both lines completely. If I am giving too little information, or if I am not making myself clear ( I just woke up lol), just tell me. Thank-you.


game:GetService("Debris"):AddItem(coin, clean)

game:GetService("Debris"):AddItem(lava, clean)
Report Abuse
IFoundit is online. IFoundit
Joined: 28 Apr 2013
Total Posts: 2367
31 Jul 2013 01:47 PM
game:GetService("Debris"):AddItem(lava, clean)

lava --> object

clean --> number

Report Abuse
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
31 Jul 2013 01:50 PM
I know that. That was how it worked before with me. But can the first argument take two objects with different names?
Report Abuse
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
31 Jul 2013 01:55 PM
Never mind, I found a solution. Thanks
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