Nice script! Personally I would have just animated the gate to raise in the first place and not have worried about scripts, but it certainly has it's use for models with no animations, well done
i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII.