I have this camera script, that shows the player in a special third-person perspective. The script IS working, but for some reason, I can't make the Accessory part meshes visible. I tried it multiple times with different approaches, but nothing works. Can you help me with my issue? The script:
c = workspace.CurrentCamera
player = game.Players.LocalPlayer
char = player.Character or player.CharacterAdded:wait()
humanoid = char:WaitForChild("Humanoid")
player.CameraMaxZoomDistance = 0.5
c.FieldOfView = 90
humanoid.CameraOffset = Vector3.new(1,0.2,1)
function lock(part)
if part and part:IsA("BasePart") then
part.LocalTransparencyModifier = part.Transparency
part.Changed:connect(function (property)
part.LocalTransparencyModifier = part.Transparency
end)
end
end
for _,v in pairs(char:GetChildren()) do
lock(v)
end
char.ChildAdded:connect(lock)
c.Changed:connect(function (property)
if property == "CameraSubject" then
if c.CameraSubject and c.CameraSubject:IsA("VehicleSeat") and humanoid then
c.CameraSubject = humanoid;
end
end
end)
(P.S. This script is not mine! Thanks in advance!)

1 comment
change line 10 to your custom offset