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: How to fix client lag?

Previous Thread :: Next Thread 
extremeninjamaster is not online. extremeninjamaster
Joined: 25 Feb 2012
Total Posts: 2570
09 May 2015 05:15 PM
Hey guys,

I made a game with very big maps (2-3k parts) and I made a script which copies the map from ServerStorage and puts it into workspace. I try it offline and it loads in like 2 seconds. I try it on a 2 player server and the server loads the map without the client seeing it. By the time the map loads on the client the script has already progressed to further code.

Any way to load the map more efficiently? Or at least a way to make the script wait until the map finishes loading on the client?

Any help will be appriciated
Report Abuse
extremeninjamaster is not online. extremeninjamaster
Joined: 25 Feb 2012
Total Posts: 2570
09 May 2015 05:17 PM
b1


-This sentence is a lie-
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
09 May 2015 05:17 PM
Iterate through the models and clone each part instead of all at once.


I script -~ chimmihc
Report Abuse
extremeninjamaster is not online. extremeninjamaster
Joined: 25 Feb 2012
Total Posts: 2570
09 May 2015 05:17 PM
b2


-This sentence is a lie-
Report Abuse
extremeninjamaster is not online. extremeninjamaster
Joined: 25 Feb 2012
Total Posts: 2570
09 May 2015 05:19 PM
Do I need to put a wait() between all the bricks?

If I do it would take much too long for the map to actually load.

And if I don't there wouldn't be any difference (Unless I'm mistaken)


Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
09 May 2015 05:20 PM
Wait every 250 iterations.


I script -~ chimmihc
Report Abuse
extremeninjamaster is not online. extremeninjamaster
Joined: 25 Feb 2012
Total Posts: 2570
09 May 2015 05:22 PM
Mkay I'm going to try that thanks


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