How do I make a cut scene part force load on client with streaming enabled?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Trying to make a cut scene part force load with streaming enabled.

  2. What is the issue? The issue is that my cut scene part is far away from the client so it breaks my cut scene. StreamingMinRadius to 70 and MaxTargetRadius to 500 to reduce lag and fps.

  3. What solutions have you tried so far? I have try to change it higher to make more of the parts load to load the cut scene but that would cause more lag and fps issues if I change it higher.

My game is a prison game so I need to only load the cut scene part from far away.

2 Likes

Create it locally. Locally created parts are not affected by streaming enabled.

So use the client script to create a part with intance.new function?

Store the Parts in ReplicatedStorage, Clone them and Parent them to Workspace. A Folder could be used to store them all inside.

5 Likes

Ok but does it get clone by server script or local script?

LocalScript of course, they run locally for the Player. StarterPlayerScripts would be the best place to store it.

3 Likes

Ok thanks. I will do that for that.

Um does that mean more parts when i clone it?

If you’re not going to Destroy and re-use etc then you can just assign the Parent.

1 Like

Ok but if there’s more then one player joins and more parts are created does the script break for other players if the part was created for each player?

Since this is local, the Parent change doesn’t replicate to other players. Therefore, this will be completely fine for others.

1 Like

Ok but now I got a error Infinite yeild possible on Cutscene on my teamgui script. Dpes it saying I need to remove the WaitForChild?

If you’re using a Folder, ensure that you updated all the paths in your LocalScripts. On the server, the Parts in the Folder will never be moved to the Workspace FYI.

1 Like

Can other local scripts see the cloned part or no?

Not at all; they aren’t replicated

1 Like