Well the code is from 2021, so the inventory itself is so old and hasn’t been updated or maintained therefor you cant just ensure it and go.
You’d need to update and maintain the script to your server yourself