So I have a script that focuses to the torso of a model but when that model moves it is very jittery when following it. How do I make it smooth?
script.Parent.MouseButton1Down:connect(function() script.Parent.Visible = false script.Parent.Parent.MiniGuiFolder["<"].Visible = false script.Parent.Parent.MiniGuiFolder[">"].Visible = false local player = game.Players.LocalPlayer wait(0.3) game.Workspace[player.Name..'Figure'].Humanoid.Health = 100 game.Workspace[player.Name..'Figure'].Humanoid.MaxHealth = 100 local target = workspace[player.Name.."Figure"].Torso local camera = workspace.CurrentCamera camera.CameraType = Enum.CameraType.Scriptable camera.CameraSubject = target while wait() do camera.CoordinateFrame = CFrame.new(target.Position) * CFrame.Angles(-95, 0, 0) * CFrame.new(0, 0, 25) end end)