Basic Mouse System + Addons

Sorry to revive a thread but, when I tried the script, the game worked as if I didn't paste the script in. It played normally, I didn't get any "errors". It's just something weird I noticed. I might try copying the below code in the pastebin, to see if it works better.

Edit: Cleared, I just needed to put it in Materials.
Hey Vlue, I hope you're still here, because you have amazing scripts!
I have a problem with this script and Yanfly Engine Ace - Ace Save Engine.
I used both of them in a fresh project and I get an error when I go into the save menu.
https://gyazo.com/f441357c62c718f57c84af65820d0076
f441357c62c718f57c84af65820d0076

Anything I can do to fix this?

Original thread: https://forums.rpgmakerweb.com/threads/basic-mouse-system-addons.1752/