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 » Game Design
Home Search
 

Re: Code help!

Previous Thread :: Next Thread 
EvanM333 is not online. EvanM333
Joined: 20 Jun 2012
Total Posts: 50
28 Jun 2016 03:35 PM
I need a code that will clear the debris on the map. My game involves wrecking cars. But when they are all damaged i need a script that will clean it up after 30 seconds.
Report Abuse
xmenoZ is not online. xmenoZ
Joined: 25 Jun 2016
Total Posts: 408
28 Jun 2016 03:39 PM
Free model, anti lag scripts do that job.
Report Abuse
EvanM333 is not online. EvanM333
Joined: 20 Jun 2012
Total Posts: 50
28 Jun 2016 03:40 PM
But i hate using free models!
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2016 03:41 PM
Asking for someone else to make it for you is the same thing as free modeling.


Report Abuse
EvanM333 is not online. EvanM333
Joined: 20 Jun 2012
Total Posts: 50
28 Jun 2016 03:42 PM
Not necessarily.
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2016 03:42 PM
Exactly the same.


Report Abuse
EvanM333 is not online. EvanM333
Joined: 20 Jun 2012
Total Posts: 50
28 Jun 2016 03:44 PM
This is what i have:

Anti_Lag = false -- Make it true to work, false to not.

sequence = {"Mesh", "Debris", "Enable/Disable"}
function AL()
for i = 1, #sequence do
if Anti_Lag == true then
for i, s in pairs(game.Workspace:GetChildren()) do
if s:IsA("Part") then
local mesh = Instance.new("BlockMesh", s)
print("Sequence1 Done")
wait(0.1)
local D = Instance.new("Debris",game)
D.MaxItems = 100000000
print("Sequence2 Done")
wait(0.1)
game.workspace.HoloScript.Disabled = false
wait(5)
game.workspace.HoloScript.Disabled = true
wait(0.1)
game.workspace.SkyScript.Disabled = false
wait(20)
game.workspace.SkyScript.Disabled = true
print("Sequence3 Done")
end
end
end
end
end
AL()
Report Abuse
EvanM333 is not online. EvanM333
Joined: 20 Jun 2012
Total Posts: 50
28 Jun 2016 03:47 PM
And all the free models don't work
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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