I work for a game, and I have found out this issue where the entire game has intense lag spikes and I am stumped.
In the clip you can see the fps drop when the model is revealed, and for some reason, the performance takes a heavy hit when time gets frozen. How do I fix this lag issue?
I cant visualize the video due to my internet, But could you share the code and how and where the model is placed, Maybe you tweened it wrong or a memory leak somehow? Im not sure.
The model is cloned from a preexisting one and connected with Motor6D to the humanoid root part, and When the extra model parts are gone, it works without any lag, which I don’t understand. It has something to do with the extra parts that I show off here, When it makes the stand appear, it grabs all of its baseparts and makes them visible, if they have an attribute relating to it.
The extra parts;

Why don’t you make the parts invisible instead clonning?
Sorry for badly explaining, that’s not what I’m doing, when the player spawns or joins, thats when it clones.
Turns out prints made it very laggy. NVM!!!S
1 Like