I encrypted my script with a password, but after executing it to an app and try to run the app, there is an error with instruction "put the script of this stack into tscript" since script is locked with password and can't be accessed.
How can I keep password-locking my script while making it not disrupt the execution of the app?
Could anyone help me with this problem

Thank you in advance!
Best,
Dennis Li