So i tried this in the game i originally want it in and it didn't work, and i did it in another place and it worked.
This is what i tried in both games:
workspace.CurrentCamera.CameraSubject = workspace.CamPart --The part the camera focuses on.
This didn't work in the original game i wanted in. Instead it focused on the Humanoid
(Player
) the camera said, (workspace.Camera.CameraSubject
) and not the part i wanted it to focus on. But on the other game, it did on the part i wanted it! On the same script. And i tested right, checked if it was Disabled, and it still didn't work in the game i wanted it to.
Plz help.
You need to set the camera type to Scriptable before.
camera.CameraType = Enum.CameraType.Scriptable workspace.CurrentCamera.CameraSubject = workspace.CamPart