Can you post the script you already have and point out in detail what you’re struggling with? I’m not clear on what you want to accomplish.
You might want to try the now abandoned jmeter-to-k6 project. It’s no longer maintained, as there were many issues with the conversion, but it might work for your use case and get you on the right track.