Two Salisbury University students accused of attacking a man because of his sexual preferences have pleaded guilty to false imprisonment.