Why doesn´t the camera rotate?
I have recently made a camerapart, and attached the currentcamera to that part. Which works fine however, I also want to be able to rotate the camera, but the script doesn´t work.
01 | local Player = game.Players.LocalPlayer |
02 | local Camera = game.Workspace.CurrentCamera |
03 | local CameraObject = game.Workspace.CameraObject |
04 | local TweenService = game:GetService( "TweenService" ) |
06 | Player.Character:Destroy() |
08 | Player.Character.Humanoid.Health = 0 |
12 | Camera.CameraType = Enum.CameraType.Scriptable |
13 | until Camera.CameraType = = Enum.CameraType.Scriptable |
16 | Camera.CFrame = CameraObject.CFrame |
19 | CameraObject.CFrame = CFrame.Angles( 30 , 30 , 30 ) |