A judge has ordered a psychiatric report to be prepared on a 15-year-old boy who took a loaded shotgun to a school with intent to endanger life.
The youth, who cannot be named because of his age, also smuggled 200 rounds of ammunition, a lock-knife and a mask into a secondary school in Warwickshire last month.
A previous hearing at Leamington Spa Youth Court, at which the boy entered guilty pleas, was told he dialled 999 following "a change of heart" about harming others.
As well as pleading guilty to having the double-barrelled shotgun, the youth admitted possessing 200 cartridges with intent to endanger life, and possession of a knife on school premises.
The teenager, who is said to have been feeling low and suicidal when he committed the offences, is expected to be sentenced at Warwickshire Justice Centre on September 8.