You need this version of Skript or higher in order for this script to work: https://github.com/SkriptLang/Skript/releases/tag/dev37c
You also need this addon for it to work: (place it in the scripts file) https://www.spigotmc.org/resources/json-sk.8851/
If you need help or support join my discord server for help.