I'd like to build a custom slider, but harness the code already on Duda?

So I'd like to build a number of customer slider/carousels into my Duda websites. Ideally I'd just like to harness the script code running the current slideshows rather than adding another library. Is this possible?