How to add a AppleScript file to the Finder toolbar to execute the AppleScript?
If you want an AppleScript to run on its own, not in Script Editor, you need to change it from File Format: Script to File Format: Application in the Save As sheet when saving it.