Creating a custom key combination to run the script

Hi. I am very new to linux. Faced with this difficulty, I can’t figure out how to add a custom key combination to run a sh script.
I installed “gpu-screen-capture”, and it has scripts to record a replay, stop the replay, and save the replay. I need to make these scripts run with ALT+F10-F12, for example. How do I do this in gnome? Thanks in advance.