I have to ask, when was the last time you even looked at a screenshot of Ubuntu? That script is from the Unity era. The first lines remove a shopping lense. Not a thing since 2016. And even if it was still somehow valid which it's not, it's mostly hardening the OS. Yes, stock Ubuntu is not an impenetrable fortress. No distro is.