I'm trying to make a gun scope, and this camera just steers off into a new direction after I move, i've tried doing while loops to update it but even then it's choppy and looks awful when I move. I've also tried adjusting the Cframes to be it as well, but still choppy. is there a better way to constantly update this?
mouse.Button2Down:Connect(function() local CurrentCamera = game.Workspace.CurrentCamera CurrentCamera.CameraSubject = script.Parent.Sight CurrentCamera.CameraType = "Scriptable" end) end)
mouse.Button2Down:Connect(function() local camera = game.Workspace.CurrentCamera camera.CFrame = CFrame.new(aimPart.Position, (aimPart.Position + Vector3.new(1,0,0))) end)
You don't need to change only the CFrame