How to make streaming enabled ignore certain parts

Hey guys I am making a huge map and I need streamingenabled but, how do I make it so it doesn’t unloads certain parts?
Because of necessary parts like region parts/camera parts/interaction parts

1 Like

Hello

To do this put the parts you want to always be there on the client in the replicated storage and clone it then put the clone in the workspace

example code

for i,v in pairs(game.ReplicatedStorage.LocalLoad:GetChildren()) do
	clone = v:Clone()
	clone.Parent = workspace
end

everything you where to put in LocalLoad would be loaded locally and would always be there.

2 Likes

It doesn’t seems to work.
image



image

I think this is since you parent the objects to workspace and check if they are in cameras folder please ensure you parent them to the right object.

1 Like

I need to parent them to workspace though

You are looking for Civilian in the folder Workspace.Camaras not in the Workspace.

yeah but i need it on a folder :thinking:

The way I would do it is to create a Position or CFrame value instead as parts are unnecessary for those types of things.

You could try an increase the streaming radius to 4k.

Alternatively parent the parts to replicated storage to forcibly replicate them. Then on client parent them to workspace.

for i,v in pairs(game.ReplicatedStorage.LocalLoad:GetChildren()) do
	clone = v:Clone()
	clone.Parent = workspace.where you want it
end

should then be your code

1 Like

Ended up making my own chunk system so yeah…