Help with area 2d

Godot Version

Godot_v4.2.1

Question

Hi, Im trying to make a Flappy bird clone to get used to godot, and i made an object that is like “the coin” wich function is to increment the score, but for some reason it doesnt work. The red part is the collsion of the object. Altough i went into multiples chomusukes the socre only got to 1

It says it cannot use instantiate on a null (unassigned) value, you are using instantiate() on edwing and chomoske, one or both of those are unassigned, check the inspector for this node to assign values to your exported variables