Employee was walking around the mantrip which was parked at the end of the track in a spur for the new section. He was going for electrical tape. He heard a flyboard crack and then rock knocked his hardhat off. The rock hit his left shoulder and then rolled down to the back of his leg. His leg and foot were bruised. He was instructed to keep it elevated for three days.