Problemas to make the camera bobbing

Godot Version

Godot Editor 4 (Mobile)

Question

Hello, I’m Anti, and I started programming games this month and lately I’m learning a lot, but I’m having problems making the camera bobbing, I’ve tried using different scripts, but it doesn’t work.