UIS.InputBegan:Connect(function(d,C)if d.KeyCode==Enum.KeyCode.E then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(2,0,0)})):Play()end if d.KeyCode==Enum.KeyCode.Q then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(-2,0,0)})):Play()end end)UIS.InputEnded:Connect(function(d)if d.KeyCode==Enum.KeyCode.E or d.KeyCode==Enum.KeyCode.Q then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(0,0,0)})):Play()end end)
--Keybinds & Main Lean Script
UIS.InputBegan:Connect(function(key, isTyping)
	if key.KeyCode == Enum.KeyCode.E then
		tweenService:Create(humanoid, ti, { CameraOffset = Vector3.new(2, 0, 0) }):Play()
	end
	if key.KeyCode == Enum.KeyCode.Q then
		tweenService:Create(humanoid, ti, { CameraOffset = Vector3.new(-2, 0, 0) }):Play()
	end
end)

UIS.InputEnded:Connect(function(key)
	if key.KeyCode == Enum.KeyCode.E or key.KeyCode == Enum.KeyCode.Q then
		tweenService:Create(humanoid, ti, { CameraOffset = Vector3.new(0, 0, 0) }):Play()
	end
end)
