how do i have the camera work the same way as it does with shift lock, but when focusing on a seperate part? like when you move the mouse the camera rotates. Ive been trying to find tutorials online but nothing has helped. heres my script so far.
cam = game.Workspace.CurrentCamera
--head = game.Workspace["TESTPART!!!"]
head = game.Workspace.Tank.Head.part
cam.CameraSubject = head
cam.CameraType = "Scriptable"
cam.CFrame = CFrame.new(Vector3.new(head.Position))