Chosen Solution
I have replaced the wifi/bluetooth board with 3 diffrent types I bought online. I thought it could have been the controller so I got a new one as well. Still won’t stay connected. I think it is the motherboard.
Try it out wired using the micro usb cable and plugging it into ur xbox
Make sure all the wires are connected, that was my problem.