first of all, i'm a novice scripter. kinda don't know what i'm doing. this script used to work, but now the camera doesn't focus where i want to. i think the script still attaches the camera to the part, but it's really zoomed out and doesn't work at all.
local cam = game.Workspace.CurrentCamera local part = game.Workspace:WaitForChild("FocusHere") cam.CameraSubject = part wait(1) cam.CoordinateFrame = CFrame.new(part.Position + Vector3.new(1,0,1)) cam.CameraType = 'Attach'
local cam = game.Workspace.CurrentCamera local part = game.Workspace:WaitForChild("FocusHere") local target = part local cam = workspace.CurrentCamera cam.CameraType = 'Attach' cam.CameraSubject = target cam.CoordinateFrame = CFrame.new(target.Position + Vector3.new(1,0,1))
Try using this