Help with lag (MicroProfiler)

Hello all!

I have a good bit of lag in my game, so I used the MicroProfiler. It says that I have a lot of ‘worker’ or something with ‘worker’ in the name The image below is what it means.

Any idea on how I can remove this and make my game “lag-free”? It freezes when a new player joins and it’s very annoying.

Game: - - Roblox

2 Likes

When you say “Lag”, do you mean latency between server client? Or, do the frames per second drop?

When someone joins, everyone is frozen for a few seconds, and on mobile, the FPS is very bad. I’m new to development to sadly I don’t know what “server” or “client” means.

You may just have a lower end mobile device.

It lags everyone when anyone joins, not just me.

Sounds like you might have a server script with a player joined function in it. If this script has a large calculation to do that takes ages, it could be causing lag when people join.

Any idea how I can find this script?