Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Does anyone know how to reduce or get rid of lag? Any info will help

Asked by 4 years ago

I am having problems in the studio were our team keep crashing for no reason I try load into our game but all it says is "Waiting for an available server" After that it just crashes? We have ZERO free models so I don't think we would have any virus from them Please help!

0
Use less RemoteEvents and RemoteFunctions.. like you can reuse some. pranvexploder 14 — 4y
0
Reduce amount of part.....that what i only know to do xd Btw crash (i think you mean Not responding) I think you need to wait for the game to load instead of closing it. Nguyenlegiahung 1091 — 4y
0
if you have a while loop that doesnt have a wait() it might be lagging out your server COMBATKOALA 5 — 4y

1 answer

Log in to vote
0
Answered by
Rynappel 212 Moderation Voter
4 years ago

well make sure to keep ur part count at least under 10k and don’t have a lot of parts in1 area. Something you could do aswell is union a lot of ur parts to reduce ur part count and don’t use while true do, use while wait(0.1) do in scripts

0
Part count does not generally affect performance unless you are on a very low-end computer or phone. As long as your parts are Anchored (meaning they don't interact with physics) they will take literally no performance hit at all. Also I'd advise to avoid while loops wherever possible regardless of what, try keeping your systems event-based. User#834 0 — 4y
0
the while wait(0.1) helps to not crash in studio aswell Rynappel 212 — 4y
Ad

Answer this question