Why won't this datastore script work?

Requiring modules via the id isn’t valid anymore, you can read about it here:

You’ll need to put the module inside your game and require that.