I have not yet been able to fix this error. I have spent the last 4 hours watching videos and they are all very different or the same but it still does not work for me.
func onArea2Dbodyentered(body):
if body.isingroup("player"):
get_parent().Monedas += 1
print(str(get_parent().Monedas)
queue_free()
pass # Replace with function body.
It has been giving me error in queue_free()