How to make GetStringForKeyCode return as a print if you already have a keybind assigned to a keybind

im making a keybind script and i was the script works its just that if i set 2 keybinds to the same move, its going to play both moves and i want it to return as like go back to the keybind in a way.

its kinda hard to word this but i think you got it

image