Complex sentence: They are interrupted by Hydroflax who has listened to their conversation, who detaches his head from his mechanical body and it orders it to kill them.
Split into simpler sentences: They are interrupted by Hydroflax who has listened to their conversation. He detaches his head from his mechanical body and it orders it to kill them.