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?
COMMUNITY QUESTION
How can I optimize the generation of the world?
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.
