Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I optimize the generation of the world?

I made a generation of the world that creates many parts. When the generation ends, the place starts to hang. How can I optimize more parts?

1 answer

Try this:

while 1-1=0 do
print("Regened!")
game.ServerStorage.map:Clone(game.Workspace)--Name what you are regenerating "map" and 
--put map in ServerStorage
wait()--The amount of time between regeneration
game.Workspace.map:Remove()
end

This discussion is preserved as it was. New answers, comments, and votes are closed.