2D Area2d roombased camera system not working

Godot Version

4.1 ~on steam

Question

hiya! I am very new to godot and am fixing together lots of tutorials to make a dungeon crawler 90s style! the main one not working is how to make roombased camera system. https://youtu.be/DBgIES-CIUI. but i knew it was for 3.5 so i got the project files in github into 4.2 and it still works! i dont know if its my code or execution of different nodes as i only started a few days ago but i need help if possible. the bug is that insted of being stuck to the room the camera forever is moving with the player
My Map:

My Player and Camera:

Code [not working]:
image

if you can help then thank you ever so much! if not still have a good day