What is ObjectStreamer?
Object streamer is a lightweight detail streaming solution which helps improve the performance of your games. (In english) it is a script that hides details that are too far away from your character to improve overall FPS.
With it you can define multiple object types which can be streamed at different render distances, for example trees with a render distance of 300 studs and rocks at the render distance of 100 studs.
How is it better than StreamingEnabled?
Unlike StreamingEnabled it is client based and extremely customizable, the properties you can change are:
- Render Distance
- Which objects are streamed
- How quickly the checks are ran
Even with these advantages, it works seamlessly with streaming enabled so I do not recommend disabling it.
How fast is it?
This script takes advantage of Quenty’s Octree Module for spatial querying which gives it a major performance boost.
When streaming about 2500 parts, the check only took about 0.009 seconds when standing still and 0.001 second while moving at the render distance of 100, while this may vary depending on your device the code is blazing fast.
Implementation
-
First grab the model from the creator marketplace:
https://create.roblox.com/store/asset/111418939192284/ObjectStreamer -
Place the script inside StarterPlayerScripts.
-
Add the tags you wish to add, put their names in the quotes like this and then specify their render distance.
-
Add tags to your parts/models:
-
You are all set! If you have any questions feel free to ask below.
Examples:
A quick video of the streamer in action:
Test it out for yourself:
Support me: Donate to ExoticProto - Roblox
If you wish to support me for my contributions, feel free to donate in the game below, any amount is appreciated!