I was actually just about to edit my post, lol
It was in fact an NPE. I forgot to set something really obvious. I also noticed OP's script, "Goldilocks", is a bit dated, so it's probably the same issue for him as well. I haven't had any problems since fixing it either.