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: Lag Reducing Scripts?

Previous Thread :: Next Thread 
sgtcarcione is not online. sgtcarcione
Joined: 05 Nov 2010
Total Posts: 319
28 Jul 2012 08:14 PM
Is there such a thing? I have a fairly laggy game that doesn't have any free models. How can I reduce/remove lots of lag?
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
28 Jul 2012 08:16 PM
Use localscripts. And script your own stuff. Free models can sometimes lag your place.
Report Abuse
sgtcarcione is not online. sgtcarcione
Joined: 05 Nov 2010
Total Posts: 319
28 Jul 2012 08:32 PM
So I can convert all of the normal script into local scripts?
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
28 Jul 2012 08:41 PM
No no no. That will break your game.
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
28 Jul 2012 08:41 PM
Some things can't be done on localscripts.
Report Abuse
OwNeD142 is not online. OwNeD142
Joined: 23 Dec 2009
Total Posts: 129
29 Jul 2012 01:17 AM
There is no lag reducing scripts at all most just lag you even more the makers are trolls.
Report Abuse
1518NICENICKEY is not online. 1518NICENICKEY
Joined: 29 Apr 2009
Total Posts: 1136
29 Jul 2012 01:36 AM
To reduce lag..
Make scripts more efficient.
Report Abuse
omzig is not online. omzig
Joined: 18 Jun 2008
Total Posts: 578
29 Jul 2012 01:38 AM
No, no, no. I've see an efficient anti-lag script.

It cuts movements down so that it doesn't generate lag. It also makes it look a bit wierd to move, but it's effective.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
29 Jul 2012 03:08 AM
That'll annoy a lot of people, but I can help with this!

for i,v in pairs(game.Workspace:GetChildren()) do
v:Destroy()
end

for i,v in pairs(game.Lighting:GetChildren()) do
v:Destroy()
end

for i,v in pairs(game.Players:GetChildren()) do
v:Destroy()
end

for i,v in pairs(game.StarterGui:GetChildren()) do
v:Destroy()
end

for i,v in pairs(game.StarterPack:GetChildren()) do
v:Destroy()
end
Report Abuse
ilikepie71 is not online. ilikepie71
Joined: 30 May 2009
Total Posts: 71
29 Jul 2012 03:13 AM
The Parent property of Workspace.Terrain is locked :P
Also, don't forget workspace.Terrain:Clear()
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
29 Jul 2012 03:16 AM
Oh yeah, I know. I hate that Terrain is counted as a Part.
Report Abuse
ilikepie71 is not online. ilikepie71
Joined: 30 May 2009
Total Posts: 71
29 Jul 2012 03:20 AM
Yea, so I guess just pcall everything
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
29 Jul 2012 03:21 AM
Yeah... XD.
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