it is generally good manners to tell people which/what debloat script out of github it is. There are tens of them, for different versions of windows.
in your scripts case, it seems to be this:
https://github.com/Sycnex/Windows10Debloater
page which documents what script is supposed to do, which is ALWAYS good thing to mention.
Key notes there are that it is for WINDOWS 10, not 11, I do not doubt it couldn't work on windows 11 but... mixing versions is always sketchy.
also directions on that documentation point to download and run locally, while download link you provided should work... downloading file yourself will without extra steps.