Script Format Causing Errors

Hey there!


It seems I'm running into an issue with the format of this script by Meowface. Due to the format having been messed up in the text box, pasting the script directly into the editor causes errors. Because I am not a major scripter, but rather, an eventer, I have no idea how exactly this script is supposed to be laid out so that it works. So... can anyone help me? It looks really cool, and I'd really like to test it without it spouting errors at me. If someone can give me the correct layout, I'd really appreciate it!


(Also, I hope I've put this in the correct place. I'm new to the forums, so if I'm wrong, please let me know!)
If you take a look at the post where the script came from you will see this warning in giant letters 


"


Due to the V3 to V4 migration, some of the script pasted in the code box are messed up.


Please PM me for an alternative version if it's not already been pasted in a new comment in the tread.


"


I would follow their suggestion and message the person supplying the script.

Original thread: https://forums.rpgmakerweb.com/threads/script-format-causing-errors.64648/