Complex sentence: Lani takes Cody on a wild knuckle ride through the lava tubes, after which Cody and Lani bond with each other and goes and tells Cody and Big Z to work things out, so Cody goes and makes his surfboard.
Split into simpler sentences: Lani takes Cody on a wild knuckle ride through the lava tubes, after which Cody and Lani bond with each other. Lani tells Cody that he and Big Z need to work things out, so Cody goes and makes his surfboard.