Anyone know how to stop this?


Weird transparent effect when my camera’s at a certain angle.

1 Like

To solve this I would need more data. Could you send the game file, or give more insight on the scripts and objects?

1 Like

put in #help-and-feedback:building-support

1 Like

Maybe try a new part, or check if the part is transparent.

1 Like

Destructive Fun [0.4].rbxl (80.8 KB)

I’m planning to make some sort of game where you destroy stuff. Feel free to look at anything in there. Here’s the current scripts I have:

Making limbs visible:

local Character = game.Players.LocalPlayer.Character

local Limbs = {
	Character:WaitForChild("Left Arm"),
	Character:WaitForChild("Right Arm"),
	Character:WaitForChild("Torso"),
	Character:WaitForChild("Left Leg"),
	Character:WaitForChild("Right Leg")
}

game:GetService("RunService").RenderStepped:Connect(function()
	Character:WaitForChild("Humanoid").CameraOffset = Vector3.new(0, 0, -1)
	for i, Limbs in pairs(Limbs) do
	Limbs.LocalTransparencyModifier = 0
	end
end)

Pistol Animations: (There are none currently)

--// Basic Items //--

local Animation_Player = game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):WaitForChild("Animator")

--// Animations / Poses //--

--// Idle

--// Using Animations //--
workspace.Pistol.ClickDetector.MouseClick:Connect(function()
warn("Clicked")

--[[if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") ~= Enum.HumanoidStateType.None then
Loaded_Idle:Play(0.3, 500, 0.5)
	end]]

local Motor6D = Instance.new("Motor6D", game.Players.LocalPlayer.Character:WaitForChild("Left Arm"))
Motor6D.Part0 = game.Players.LocalPlayer.Character:WaitForChild("Left Arm")
Motor6D.Part1 = workspace.Pistol
end)

Also, my scripts probably look horrible but I don’t really care. I’ve never been good at formatting them.

No transparency on any parts. I will try it on a new part though,

Edit: Didn’t work

1 Like

I did it, thank you for telling me to do this! :slight_smile:

1 Like

This behaves exactly like a script i once pulled from here. All parts that block line of sight to the player go partially invisible.

Start disabling scripts.

1 Like

Disabled both scripts, didn’t work.

This would be a local script in starterplayerscripts.

1 Like

Set the property “DevCameraOcclusionMode” of StarterPlayer to Zoom not InvisCam

1 Like

Which one is it? I can’t find it.

Okay, I will try this. Thank you!

Edit: It worked! :slight_smile:

Go to StartePlayer, then in the Properties you should find DevCameraOcclusionMode.

1 Like

You responded to “Which one is it? I can’t find it.”

That was directed towards someone else.

1 Like