Emergency services scrambled to the scene in the Ayrshire town.