Put the following line into the sudoers file using visudo:
ALL ALL = NOPASSWD: /usr/local/bin/your_script.sh