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 » Scripters
Home Search
 

Re: an anti lag script?

Previous Thread :: Next Thread 
masterjosue1998 is not online. masterjosue1998
Joined: 21 Feb 2011
Total Posts: 949
04 Jul 2015 08:22 PM
My game keeps lagging because it has too many getChildren() scripts. Do you know a way to remove it? :(
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
04 Jul 2015 08:30 PM
Script more efficent.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
04 Jul 2015 08:32 PM
for _,script in pairs(game.ServerScriptService:GetChildren()) do
if script.ClassName=="Script" and script.Writer=="masterjosue1998" then
print("Found inefeccient code"); script:Destroy()
end
end
Report Abuse
masterjosue1998 is not online. masterjosue1998
Joined: 21 Feb 2011
Total Posts: 949
04 Jul 2015 08:59 PM
Maybe im wrong trying to see the functions, but i dont have any "infection" scrpit
Report Abuse
Sharvarkie is not online. Sharvarkie
Joined: 20 May 2008
Total Posts: 279
04 Jul 2015 09:34 PM
There is no such thing as a anti lag script.

Adding those scripts actually add more bytes therefore more memory being used.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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