Multiattack.
The scorpion makes 3 attacks:
2 with its claws
1 with its sting.
Claw. Melee Weapon Attack:
+4 to hit, reach 5 ft., one target.
Hit:(1d8 + 2) or 6 avg. bludgeoning damage, and the target is grappled (escape DC 12).
The scorpion has two claws, each of which can grapple only one target.
Sting. Melee Weapon Attack:
+4 to hit, reach 5 ft., one creature.
Hit: (1d10 + 2) 7 avg. piercing damage, and the target must make a DC 12 Constitution saving throw, taking (4d10) 22 avg. poison damage on a failed save, or half as much damage on a successful one.