Steaming Enabled for specific devices?

Once I have detected the device a player is using, is it possible to then enable streaming, without enabling it for other players on the server?

I understand I could create two separate places, one with steaming enabled and one without, then teleport players to the ideal place, but my game is a multi-place game and consists of 10+ different places, so to do that would mean duplicating all these places, which would be really inefficient.

If the game is FilteringEnabled it could possibly work if you run the script on the clientside so that it only applies to the player itself.

game.Workspace.StreamingEnabled = true

Unlike the FE behavior it doesn’t seem to have issues when assigning it values. Correct me if I’m wrong here I’ve never tried this before.

2


In terms of trying to check if it actually works, you will be able to see that it works successfully if server test with two players, and see if the client operation of one player affects the other player.

1 Like

I had a go at doing that in ReplicatedFirst and StarterGui, with a local script, but nothing happened.

You can’t do this. Like workspace.FilteringEnabled and SoundService.RespectFilteringEnabled, this is something you cannot manipulate at run time - if you can, it has no effect. You will need to manually code a chunk loader or streamer of sorts to achieve your goal. StreamingEnabled is also a server-side property to tell clients how to render the workspace, not something clients have a say over.

2 Likes

@colbert2677 is right. You can’t do this.

Specifically, StreamingEnabled, if I recall correctly, requires the server to initialize as special ClientReplicator on the server and on the client. Since this happens before Lua starts running, (and, I believe, before PlayerAdded fires), you can’t toggle this property live.

2 Likes

How would you even go about making a chunk loader, and is there any point in making? If not, I’ll just have to create many different places.

Never made one because I never needed one. Any chunk loader I’ve tested has lagged. So, uh, there you have it.

Yeh, I didn’t really see how I could make a chunk loader without adding more lag to the game

1 Like

Okay thanks - I’ll stick with seperate places then

1 Like