local ERROR_MESSAGE = "There was an error trying to use "..script:GetFullName() -- Dont mind this lol
repeat wait()
until workspace.CurrentCamera
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = CFrame.new(1, 1, 1, -5)
The camera just glitches, I don’t want it to glitch… Is there any other way to move the camera without it ghlitching?
What are you trying to do firstly? Move the Camera to 1,1,1 and rotate it by -5 on an axis?
Not entirely sure what the problem with this code is outside of the 4 arguments for CFrame.new() on line 7. CFrame.new takes 3 arguments of (x, y, z) but you can add a rotation. If you want to move the camera to (1, 1, 1) while rotating it, then you could do something like this:
local ERROR_MESSAGE = "There was an error trying to use "..script:GetFullName() -- Dont mind this lol
repeat wait()
until workspace.CurrentCamera
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = CFrame.new(1, 1, 1) * CFrame.Angles(math.rad(x), math.rad(y), math.rad(z))
replace x, y, and z in CFrame.Angles() to rotate it by that unit of degrees on each axis.