How would I sandbox user-generated code in a script builder game?

Thank you for the link to the post, I will read it,
I use a custom loadstring module with FiOne as the interpreter