I can't seem to get the Teleport Script from <a href="https://app.roll20.net/forum/post/4694539/teleport-script-tweaked" rel="nofollow">https://app.roll20.net/forum/post/4694539/teleport-script-tweaked</a> to work. I do not claim to be a coder, and I do not take any credit for creating this script. <a href="https://gist.github.com/lazy468/93744539abf8f1895e89a176fa84512e" rel="nofollow">https://gist.github.com/lazy468/93744539abf8f1895e89a176fa84512e</a> For the sake of safety, I made a copy of my game to test the script, and it worked like a charm. But when I tried to use the script in the main game, it just refuses to work and keeps giving me the following message when I try to start it up: TypeError: Cannot read property 'set' of undefined TypeError: Cannot read property 'set' of undefined at CreateMacro_TP (apiscript.js:183:25) at apiscript.js:26:3 at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8) at checkForReady (/home/node/d20-api-server/api.js:1438:12) at /home/node/d20-api-server/api.js:1518:9 at c (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:14:64) at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) I have not altered the script in any way to my knowledge, and I have no clue what this error code means, considering it only shows up in one of my games but not the other. I am using the same script for both the copy of my game and my original game. So I am sorry about the stupid question, but how do I fix this error?