Game freezing when trying to load out (Way to fix many part lagging)

Hi,

So I have a game will a bucket load of parts,

So when I click the ‘STOP’ button in studio, the game stops responding for like 20 seconds,
I’m wondering if there’s a way to fix that (btw the game is not lagging at all, but just loading out the game is bad)

How would I go about fixing the lag of many parts?

Reduce quality of materials and prevent duplicating blocks, they can build up to lag which would be sustained during the game, but while ending it, it can affect the studio and might even close with no response
You can also check more tips by other developers here
I hope it helps!

2 Likes

Unions can help mate!! Try that, need help?

Try this:

Press Here!

Many structures and objects can be built with the regular Roblox parts such as Parts, Cylinders, Spheres, etc. You can create more complicated shapes using a feature called Solid Modeling. In this tutorial we will use Solid Modeling to create an arch.

Start by inserting a Part which will be the main body of the arch.

Change the Part’s Part.Shape to Cylinder and resize it using the Scale tool so it is slightly smaller than the part inserted earlier. Use the Move tool to make the cylinder intersect with the part. You will need to make sure collisions are turned off.

Insert another Part and place it beneath the cylinder. It needs to be the same width as the cylinder and should be scaled so reaches from the ground to halfway up the cylinder.

Select both the cylinder and the second part. Click on the Model tab and then click on the Negate button. This will turn the parts translucent and red.

NegateButton.png

Now select all three parts. Press in the Model tab click on the Union button. This will remove the area in the red parts from the first part we inserted.

UnionButton.png

And we now have a beautiful and clean arch!
If you ever want to take apart a union, select it and then press the Separate button.

SeparateButton.png