Msure the file path is correct for the save code, It should be "user://save_data.cfg" not "res://save_dats.cfg"