Preventing workspace replication from server to client?

There are objects in the workspace that i need to only exist on the server, is this possible? And how would i go about this

1 Like

Just make a simple local script in ReplicatedFirst / StarterPlayerScrripts

Something like this

local targets = {workspace.Folder1, workspace.Folder2} -- Target folder, that should exist only on server

for _, v in ipairs(targets) do
      v:Destroy()
end

Also you can use CollectionService for this