I want to recreate this camera bobble from “Zo” but I couldn’t do it I tried using roblox’s open-source
camera bobble but it didn’t look good like this one I don’t know much about camera so waiting for your helps thank you.

You can use trigonometric functions in order to do that.

local runService = (game:GetService("RunService"));
local players = (game:GetService("Players"));
local localPlayer = (players.LocalPlayer);
local localCharacter = (localPlayer.Character or localPlayer.CharacterAdded:Wait());
local localHumanoid = (localCharacter:WaitForChild("Humanoid"));
local camera = (workspace.CurrentCamera);
function RenderStep(dt)
if not (localHumanoid.MoveDirection == Vector3.new()) then
local speed = (25); -- // How strong will the shake be.
local sine = math.sin(tick() * speed);
sine = sine / 10 -- // By default, math.sin(x) ranges from -1 to 1. By diving it by 10 the range is now -0.1 to 0.1.
camera.CFrame = camera.CFrame * CFrame.Angles(math.rad(sine), math.rad(sine), 0)
end;
end;
runService.RenderStepped:Connect(RenderStep)

This is helpful, but also not. They should be able to learn how to actually make it instead of having to use a module, It will help them a lot in the future.