How would I make a third person camera bobble that only goes up and down?

I’m not asking for scripts, But every single third person camera bobble script I tried have failed, So how would I accomplish a third person camera bobble that goes up and down?

From memory it ought to be something like this:

local bobY = math.sin(tick() * frequency) * amplitude

Camera.CFrame *= CFrame.new(0, bobY, 0)
2 Likes