If I recall correctly, you need to call get_rotation on the object whose rotation you’re trying to get. So it would look like this:
Var Cam_Rot = M_Cam.get_rotation().x
What the error is trying to say is that the function has no arguments, meaning you do not need to pass anything to it.