I’m assuming the custom character sheet has roll templates that are being used and that’s what is being shown. If that’s the case then you can create a macro that also uses the roll template. But if you don’t say which character sheet it is or link to the sheet code there’s no way to help you.