calling a scene form another and connecting the signal

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Richard_A_Odell

Can someone please put the correct code for me

i have a scene that has

HUD scene
coconut scene (with a signal called coconut_collected)
key scene

when i when i collect my key i need it to
[A] add HUD1
[B] delete the first HUD.
[c] connect coconut_collected to HUD1