Scripting Issue

TGTG UnggoyJun 09 201604453
    Halo and Forge Discussion

I recently started working on an Infection map called Vault, and I was busy with scripting the doors when I had to go offline. I had three of the four doors that I wanted to make interactive working, but when I came back online one of them was glitched. Basically it keeps on opening. I use whales as timers for the switches, but one of them keeps on spawning and instantly despawning. You can check the normal situation and the glitched one in the video I linked below.
I've tried a lot of things already, even deleting everything but the door and the whale, but nothing seems to work. It'd be great if someone has a solution for this.

Video:
http://xboxdvr.com/gamer/TG Unggoy/video/18366663/embed