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!
✓ ANSWER ACCEPTED
Does anyone know how to reduce or get rid of lag? Any info will help
1 answer
✓ Accepted answer
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
2 comments
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.
0
the while wait(0.1) helps to not crash in studio aswell
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Use less RemoteEvents and RemoteFunctions.. like you can reuse some.
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.
if you have a while loop that doesnt have a wait() it might be lagging out your server