How to get these bolts out

Hi guys (Right now trying to get the driver off the hub, to check how is it)

First, I tried searching for a similar issue on the subreddit and YouTube videos but couldn’t find anything—or maybe I’m just not familiar enough with the right terms.

It all started when I tried using my bike, but the chain kept getting loose. The bearings in the mid-center wouldn’t stay in place (even after hammering them with a rubber mallet, they would come off really easily). I replaced the mid bearings, cranks, axle, and chainring (26T). I also replaced the rear wheel hub.

Honestly, I don’t think I took enough care when handling the parts. I tried getting it repaired, but they said there wasn’t much they could do and that it needs a specialist. There aren't any close bmx shops close. I got something kinda, it doesn't get loose anymore, but when i pedal, it just cracks and gets stuck

Right now I'm trying to get the driver off to check if there's something with it

Thanks yo so much!