The will of Rocks D. Xebec lives on in the Yami Yami no Mi. Once Blackbeard Gets the One Piece, he will revive Joyboy and the millions of ancient Giants that form the Red line, and Rocks will take control of Blackbeard. But it turns Rocks and Teach were manipulated by Im, who wants to stack all the revived giants on top of each other to reach the moon and conquer it. Im is originally from a race of Dragons that can take humanoid forms, but he was exiled from the moon. The Tenryubito are just failed clones of him. Joyboy will reveal that he wasn´t actually an ancient giant, but a time traveling Franky who was controlling an ancient giant shaped Mecha. The D clan are the only ones that can control this mecha, and law pilots it to defeat Im, while Luffy uses all the Haki that was stored in the Poneglyphs to destroy the moon and all the Dragons living there.