The "work" part implies longevity. A working script adds a hidden scheduled task that re-runs the activation every 180 days or days.
It wasn't a script. It was a block of hexadecimal data, 1024 bytes long, flanked by comments: windows 7 activation txt github work
If you find a clean, non-malicious script that hasn't been patched by the 2024 Extended Security Updates (ESU) , it will remove the "This copy of Windows is not genuine" watermark. You will pass slmgr /xpr and see "The machine is permanently activated." The "work" part implies longevity