Hey, so currently I'm a beginner scripter with little experience, currently trying to figure out how to use camera manipulation. I'm trying to figure out how to change the camera subject when a player touches a block. Here is my script thus far:
script.Parent.Touched:connect(function()
local cam = game.Workspace.CameraPart1
cam.CameraSubject = game.Workspace.CameraPart2
cam.CFrame = workspace.CameraPart2.CFrame
end)
CameraPart1 is the current camera subject and CameraPart2 is the new camera subject when the player touches the block.

1 comment
You can't change player's camera in normal script. You need to do this in Local script and send informations in Remote event