Would you look at the mess of that derailleur
Thats what happens to good shit when you lend a bike to your kids (actually the whole bike looks rough)
Alright, I've been giving you a bit of misinformation over the last couple of posts, got a bit of brain fog going on.
The derailleur I went down and checked was an X0 10spd, which is a 5mm hex.
Should have checked the XX1 11spd which is a T25 Torx, so it looks like the XX1 and X0 were Torx and possibly GX down in 11spd were a 5mm hex.
I checked it with a T25 and it loosens/tightens.