The school has apologised and promised to take action against the perpetrators.