James Smith admitted making a series of threats towards his ex at a playpark in the Northfield area of Aberdeen.