2000 chevy S10

I bought a 2000 chevy S10 extreme . It’s been hit in the front the truck ran fine . We brought it home and pulled the bent bumper out … The truck started and then shut off after about 10 seconds … It turns over all lights work … But won’t start … Ckd for spark no spark . Ckd for spark at cool packs nothing … Does anybody know what might be the problem ? Thanks