To put the app you made in your Menu Bar launch AppleScript Editor. Go to its Preferences and set the bottom check boxes like below.



You'll now see an AppleScript icon somewhere on the right side of the Menu Bar. Click it and click Open Scripts Folder. Drag the Quit All app you made to the folder, it will then appear under the AppleScript Menu.