In my game it needs to be in R6, but every time I test it my torso disappears. If I put it in R15 it works perfectly fine. -
local camera = workspace.CurrentCamera local player = game.Players.LocalPlayer local character = player.Character local humanoid = character.Humanoid
player.CameraMaxZoomDistance = 0.5 camera.FieldOfView = 100 humanoid.CameraOffset = Vector3.new(0, 0, -1)
for childIndex, child in pairs(character:GetChildren()) do if child:IsA("BasePart") and child.Name ~= "Head" then
child:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function() child.LocalTransparencyModifier = child.Transparency end) child.LocalTransparencyModifier = child.Transparency end
end
camera:GetPropertyChangedSignal("CameraSubject"):Connect(function() if camera.CameraSubject:IsA("VehicleSeat") then camera.CameraSubject = humanoid end end)