The terrifying incident at Shotts station happened seconds before an announcement that a train was approaching.