I found out what it was. The problem was (obviously it was my stupidity, but whatever).
For debugging, I always used the command bar on the server. The thing is that it works fine for normal scripts, but whatever you use in the command bar on that module, it doesn’t even closely work.