You could try to use pkill
or killall
first :
$ pkill <script name>
# or ...
$ killall <script name>
If you want to force the kill of your process list :
$ ps -ef|awk '($0 ~ "<processname>"){print $2}'|while read -r; do kill -9 $REPLY; done
The column number of the PID (2 in my example) may change, depending on the OS.