How to fix server lag

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? making a game not have a ton of server lag so a rocket can actually smoothly launch

  2. What is the issue? server lag is making it go really slow (see gif)
    robloxapp-20221015-1126127

  3. What solutions have you tried so far? all of them. Trying to turn on streamingenabled hasn’t worked and has only caused a ton of clientside lag, and every solution I can find is for client lag and not server lag

it feels like nobody has these lag issues except for me, and i’m getting really frustrated because of it

Maybe reduce parts used in the rocket, most of the server lag is caused by the model having too many parts, so I recommend reducing the parts, or you can add a low graphic mode. Both would require a lot of effort as to re-design the rocket. But this also could be caused by the amount of scripts running at once, make sure not too many scripts run at once, that could be something causing the server lag.

that’s the thing

there’s barely any parts in all of the rockets that are in the game

You shouldn’t launch the rocket from the server. Instead, send a RemoteEvent to all clients, so the rocket launch can be simulated locally on each player’s device.

3 Likes

Ping can influence how you see things moving on the server.
People usually handle all the animations on the client so it’s smooth.

Try this if the rocket model isn’t anchored:

for i,v in ipairs(rocket:GetDescendants()) do
   if v:IsA("BasePart") and v.Anchored == false then
       v:SetNetworkOwner(nil)
   end
end

And how many scripts are running in the background, that could be the reason to why the rocket is moving slowly, it could also be the faulty roblox engine.

This maybe an file saved on his computer which ping does not rely on.