Sorry for the late response,
You might have the script in the wrong directory
See here Loading existing scripts on T6
If its in the right directory then your script might be broken, you can try VanityTS
by @DoktorSAS or any other TS script from your choice.