I dont want anyone to write massive blocks code for me, I am wondering if there is a way to speed up gameplay in your game via reducing lag?
Mabey there is a way to remove all parts that arnt in anyone's line of view?
Yes, there are certain ways you can reduce lag via scripting, but there is no general answer. It is very specific to your game and implementation. The best answer I can give you in a general sense is to turn on Workspace.StreamingEnabled
, which will stream parts to the client instead of displaying them all at once.
ROBLOX already hides parts that aren't seen, as far as I know. They will also disable rendering parts which are far away if the game is running slowly.