Roblox lag fix

Game lagging? I find out why.

Lag is rarely the whole game. It's usually a few scripts doing far too much, and you can't guess which ones. I measure first, fix what the numbers point at, and measure again.

Why it usually happens

  1. Too much sent over the network.

    Every small change goes to every player, many times a second.

  2. Work on the wrong side.

    Effects and animations run on the server when each player's device should be doing them.

  3. Memory that never comes back.

    Connections that are never disconnected and tables that only grow, so the server gets slower the longer it runs.

  4. Too many parts.

    Huge maps, unanchored physics, or generated worlds with far more parts than they need.

  5. Touched events doing the heavy lifting.

    They fire constantly, and they're not reliable for things like checkpoints.

What I do

  1. Measure first.

    The MicroProfiler, the Developer Console and the script profiler show where the time and memory actually go.

  2. Fix the worst few.

    A handful of scripts usually cause most of the lag, so that's where the work goes.

  3. Measure again.

    You get the numbers from before and after, not just "it feels smoother".

From my past commissions

What it costs

$100 to $350

About 5 days. Two milestones agreed up front, split 50/50.

Or 37,594 to 131,579 Robux.

A deadline under my estimate counts as rush and adds 25%.

Other problems I fix