wait(1)
local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = player:GetMouse()
mouse.Move:Connect(function()
camera.CFrame = CFrame.new(mouse.Hit.lookVector * 5)
print(CFrame.new(mouse.Hit.lookVector * 5))
end)
Why is the camera stuck in position and is not following the camera? the printed message changes when i move the mouse,but not the camera.

1 comment
Could you explain why it doesn't work without it?