Protecting/encrypting your script will only harm your true customers, who may have a legitemate reason to need to edit your script should you some day not be around.
Hackers, on the other hand, will simply snicker at your pathetic attempts (to them) to protect your intellectual property as they decrypt and edit your file all they want.
If they've got the file, and it can run, they can get the code.