so the problem with this script is that the game thinks you are trying to place the camera in a position but not giving it the orientation. Here’s how you can do this:
the way that this works is that you get the torso’s position and rotation from just the cframe value. then you can just set the camera’s position directly to that. the lookvector and right vector are local axis to the torso, so instead of adding it to like x in global space it’s directly to the right or forward.
I didn’t test this so idk if it works, just send a reply and let me know if it doesn’t
local player = game.Players.LocalPlayer
local char = player.Character
local Camera = workspace.CurrentCamera
local torso = char:WaitForChild("Torso")
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = torso.CFrame * CFrame.new(
torso.CFrame.LookVector * -1,
torso.CFrame.RightVector,
torso.CFrame.UpVector * -1
)
just a note, this only places the camera at the player’s torso as soon as the game starts, it doesn’t keep it there. otherwise you can set the Humanoid.CameraSubject to the torso i believe.