Program the Hit sprite
The Hit sprite is some text that reads "Hit!!!", we're going to program this to display when you hit the egg and otherwise hide.
Add the following code to the Hit sprite:
when green flag clicked
hide // hide it at the start
when I receive [setup v] // create this new message called 'setup'
when I receive [hit v]
start sound (Tada v) // add this sound from the sound library
wait (1) seconds // only show for a second
broadcast (setup v)
broadcast (new position v)
You should test your code after each step to make sure it works. If there's a problem with it then try and find the piece of code that's causing the problem and fix it.'