|
| 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
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
| |
|
|
| 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 |
|
|
|
| 04 Jul 2015 08:59 PM |
| Maybe im wrong trying to see the functions, but i dont have any "infection" scrpit |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|