how to use this skirpt, first you will need the skript plugin where you can find it at.
Releases ยท SkriptLang/Skript (github.com) after you do that you want to run your server and then open the skript folder. when you do that all you got to do is enter the skirpt file into that plugin and restart the server.