Hey everyone! I 've been working on a game for a while and so far I noticed that the map is very huge and is not compatible with people with low performance computers. I’ve seen so many games do this and it’s that thing where parts load within the player’s radius and disappear when they are out of that radius. And when an area has not loaded it has a pause screen. What I want exactly is a button that enables this feature so it reduces lag. I’d really appreciate it if you help me out!
This category is not for people to write entire scripts for you!
However, to do this, look into the Streaming Enabled property on the Workspace object.
This may help reduce lag, but may break some scripts. If you enable it, make sure to test everything so that you know it all works. Streaming Enabled should also get that pause screen you’re talking about as well.
I’m not asking for someone to write a script for me, I don’t know what steps to take or what feature or class to mess with
As I said, you should test around with Streaming Enabled.
An option to do that, is I think, changing the texture of every part to plastic with a local script.
But you could also just advice the players to turn their graphics down in the roblox settings menu.
I think this is what you are looking for to pause your game,
https://create.roblox.com/docs/reference/engine/classes/Player#GameplayPaused
You can make region3 areas of your map, when the user enters one region from another, it will pause the game and load that region instead of the one that the user left.
Streaming Enabled is much more effective than this, however having the two work together could aid performance by a large amount.