Very nice way to use those download links!
But, not really what I would call a "fun" applescript -- at the moment!
If you do test any one of those, you will discover that none actually work to open the App Store -- continuing since before this last weekend.
(I lied, the link for Monterey DOES open the download page from the App Store, but Monterey, the current system, doesn't need that link to open the download page for Monterey. -- None of the older systems appear to be available through those links.)
But, continue to be available with other methods to download direct from Apple's servers.
I continue to beleive that Apple is making some changes for the older macOS downloads that probably does not involve the App Store. I don't know for sure, it's just what I suspect.