how do i have the camera work the same way as it does with shift lock, but when focusing on a seperate part?


  • 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.

    wait(5)
    print("blah")

    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))


  • Forums - Scripting Helpers Discussion, Suggestions and Ideas


  • can i please have some help im not sure what im doing wrong

Log in to reply
 

Looks like your connection to Scripting Helpers was lost, please wait while we try to reconnect.