
This error is coming up for a script that I submitted that worked and works from the API script entry and console -
It came up for another script I tried there as well ...
There are no return statements outside of functions, and I can't seem to figure out what is triggering this - it means Teleport 1.2.2 is not working currently, and this causes a problem for me if I can't validate scripts will work before I submit - or if they work in one case, but may fail when put into one-click.
Edit: no version of the script works anymore - all throw the " SyntaxError: Illegal return statement"