Player's can see through the wall with CameraOffset

I have a firstperson script that makes the player view body.But the players can see through the wall.this is makes the game easier.like they can directly find the button on random places that spawned.

How do i fix this?

Script:

repeat wait() until game:IsLoaded()
local RunService = game:GetService("RunService")

RunService.RenderStepped:Connect(function()
	local Plr = game:GetService("Players").LocalPlayer
	local Chr = Plr.Character or Plr.CharacterAdded:Wait()
	for i,v in ipairs(Chr:GetChildren()) do
		Chr.Humanoid.CameraOffset = Vector3.new(0,0,-1.5)
		if v and v.Name ~= "Head" and v:IsA("Part") then
			v.LocalTransparencyModifier = 0
		end
	end
end)

The video has no sounds i recorded it.