INSANE LAG of no reason (Distance based)


so i am changing my distance on the client and this makes the game lag that much. the noclipping is only moving my character on the client side. i kind of know that it is not because of the parts. the furniture all has only one collision box and for all other parts cancollide, touch and query set to false

THE LAG IS CLIENT-SIDED! … means, no server lag

There’s no way to tell from just the video. What do you see in the microprofiler? You could see what tasks are taking so long from there.

Press Ctrl + F6 to open the microprofiler. From there, you can press Ctrl + P to pause/unpause and view the threads and how long they took.

the issue was the window that you saw in the video, its a viewportframe and this was lagging the game

i had to disable the windows because i dont know how to optimize the script so that it deletes the instance if a player is too far away. if you would like to try it, you could DM me. its 25 lines of code