For our project, we are attempting to create a tower defense game where, after a monster is spawned, it will emit a signal on defeat that cause the money count to increase. Similarly, we are also having it release a signal when it's hitbox collides with the heart, causing it's health to go down. However, we are unable to figure out how to connect the signal to the money scene code, as well as the heart scene code. Any idea on how to get this working? Here is how we spawn in a creature.
var monster_scene = load("res://Monster Nodes/Monster.tscn")
var monster = monster_scene.instance()
add_child(monster)