The properties of a substance depend on its structure and on what must be overcome to melt it. A substance is a solid below its melting point, a liquid between its melting point and boiling point, and a gas above its boiling point.
Giant structures (ionic, giant covalent, metallic) have high melting points because many strong bonds must be broken. Substances made of small molecules have low melting and boiling points because only the weak intermolecular forces between the molecules are overcome.
To conduct electricity a substance needs charged particles that can move: delocalised electrons in metals, or ions that are free to move in molten or dissolved ionic compounds. The simple particle model is limited because it shows particles as solid spheres with no forces between them.