Depends on the deal for the take over.
they may offer a price per share or they may offer shares in the company doing the T/O or both.
they could offer a life times supply of organic chocolate ice cream.
but one would hope that the management would do what’s best for all at stake, including the share holders