Any possible way of disabling occlusion culling on certain objects

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

  1. I want to Disable occlusion culling so certain objects stay on the client even when they’re not visible.

  2. My checkpoints in my game don’t work because the light inside the previous checkpoint can’t be found due to occlusion culling here is the error but that won’t really help:
    cantbefounderrpor

  3. I heard that you can use billboardguis when I asked the ai assistant but that didn’t work.

Here’s the part of the code that’s having problems

Code:

if part.Name == “CheckpointCollision” then

	if checked == true and tonumber(check.Name) ~= tonumber(part.Parent.Name) then
	checked = false
	-- turn off old--
	check:FindFirstChild("ActiveButton"):FindFirstChild("PointLight").Enabled = true
	check.ActiveButton.Transparency = 0
	check.ActiveButton.CanCollide = true
	check:FindFirstChild("Pressed"):FindFirstChild("PointLight").Enabled = false
	check.Pressed.Transparency = 1
	check.Pressed.CanCollide = false
	check = part.Parent
	-- turn on new --
	local checksound = player.PlayerGui:FindFirstChild("LocalSFX"):FindFirstChild(script.Checkpointsound.Value)
	checksound:Play()
	check:FindFirstChild("ActiveButton"):FindFirstChild("PointLight").Enabled = false
	check.ActiveButton.Transparency = 1
	check.ActiveButton.CanCollide = false
	check:FindFirstChild("Pressed"):FindFirstChild("PointLight").Enabled = true
	check.Pressed.Transparency = 0
	check.Pressed.CanCollide = true
	check = part.Parent

	checked = true
end


end

Occlusion Culling only stops the object from being rendered, it doesn’t remove it from the workspace.

StreamingEnabled is what can remove objects from the workspace, however if the parts you’re trying to modify are in close proximity, maybe they just haven’t loaded in yet when the code is being executed.

You should try using WaitForChild instead of FindFirstChild.

There is a setting in the part called “CanCollide” and you should turn it off

Thank you for helping me, this is a complete game changer for me. I don’t know why I didn’t think of that to begin with lol.