How to set or tilt the camera angle?

I want to tilt the camera everytime the player jumps, after surfing the internet. All they did was just confuse me. Can you give me an example as well.

1 Like

are you able to be more specific with this? what exactly do you mean by you want the camera to tilt when the player jumps

Well, all i actually want to know is how would I just tilt the camera. Such as setting it on a new angle like making it tilt upwards

for example:

local camera = game.Workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable

-- tilt the camera
camera.CFrame = camera.CFrame * CFrame.Angles(math.rad(30), 0, 0) -- this will tilt the camera by 30 degrees along the X-axis