A police spokeswoman said Dunedin police were called to a building in Princes St at 1.40pm after two people were seen with an object that looked like a firearm.
Police located the two youths, who had a toy gun.
Both left the roof and were spoken to by police.