Camera manipulation not working

Hello. Im experiencing a terrible issue where this script isnt doing anything whatsoever! Its a local script inside of starterplayerscripts.

local Cam = game.Workspace.CurrentCamera
Cam.CameraType = Enum.CameraType.Scriptable
Cam.CameraSubject = nil
Cam.CFrame = game.Workspace.Intro.Part.CFrame

Anyone know whats going on here?

1 Like

you try setting the camerasubject?

If you want to make a cutscene this might help:

Camera manipulation has been removed,

You can try TweenService

Also theres the improved code:

local Cam = game.Workspace.CurrentCamera
local part = workspace.camPart -- name of the part
Cam.CameraType = Enum.CameraType.Scriptable
Cam.CameraSubject = part
Cam.CFrame = game.Workspace.Intro.Part.CFrame

Tween Service:
https://developer.roblox.com/en-us/api-reference/class/TweenService

If you want to make cutscenes in easy way, try:

2 Likes

My experience with camera manipulation is that you typically have to wait a frame to make any changes. If you make changes immediately, the default camera script will either not see your changes or overwrite them as it sets itself up. Throwing a wait() at the top
is the conventional hack that has never let me down.

What do you mean camera manipulation has been removed?

If you haven’t found a solution yet, I would try putting it into StarterCharacterScripts so that you know the character is there, and most likely the camera.

Am not sure if am right but correct me.
Did u put this on a script or a localscript?
I think u put it in a script because I copied your script and ran it in my pc my server’s camera changed.

Try putting it in a local script.

Also it’s only Workspace.CurrentCamera
Atleast that’s how it’s supposed to be.

camera.manipulation

if you put that you in script it wont work.

Camera.manipulation has never been a thing, camera manipulation however is.

It’s manipulating the camera. Changing it. Moving it around.

1 Like

I figured it out. Turns out roblox changed their scripting stuff while I was gone for a couple of months. Thanks!

1 Like