I've tried with so many things, I played around with camera and mouse properties/functions. I still can't figure out how to create that effect and it's crucial for my game. Here's what I done, but nothing. This is in a Local Script, game>StarterScripts>
local Player = game.Players.LocalPlayer
local Camera = workspace.CurrentCamera
local mouse = Player:GetMouse()
function tilt(inputObject)
if inputObject.KeyCode == Enum.KeyCode.E then
local JerkUp = CFrame.new(mouse.Hit * Vector3.new(0,0.5,0))
Camera.Focus = JerkUp
end
end
game:GetService("UserInputService").InputBegan:connect(tilt)

3 comments
Camera.CFrame = Camera.CFrame * CFrame.Angles(0,math.rad(1),0)
Also, its called Recoil, not 'Jerk effect'
Thank you...