I fixed the immunity script. I don't like that I added a thread for it, but I might as well as that's a bit easier to understand than if I'd incorporate it into a main loop somewhere.