You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Smooth camera
-
What is the issue? Below
-
What solutions have you tried so far? Yes.
local m = game.Players.LocalPlayer:GetMouse().Hit
while true do
wait()
m = game.Players.LocalPlayer:GetMouse().Hit
game.Workspace.Camera.CoordinateFrame =
CFrame.lookAt(game.Workspace.Camera.CoordinateFrame.Position, m.Position)
end