Here is a really good example of how broadcast messages can be used in scratch programming.
See inside to see how the code works and then try and apply the same principle to your code.
Notes & Credits
Thanks to Original project:
Christmas Tree Decorater by Myself