The incident happened at the Dollar General on East State Street around three o'clock Monday afternoon.
Police say the suspect went inside, and struck an employee with a large gun, but it broke because it was only a toy. The suspect then took off empty-handed.
He's described as a black male with a beard and mask, in his forties. Anyone with information is asked to call Rockford police.