I've been using 'keybinds' in local scripts and they seem to work fine. The only issue is that: these 'keybinds' activate even when typing in the chat. I'm using UserInputService. Perhaps I should be using something else or perhaps I've been taking the wrong approach? Here is the script.
function KeyDown(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.F and InventoryOpened == false then
(Insignificant stuff)
end
end
game:GetService("UserInputService").InputBegan:connect(KeyDown)
I appreciate the help.

2 comments
What do you mean they activate even when typing in the chat?
Your title is a bit misleading, your script checks key input and does not keybind. For Keybinding you need to use the "ContextActionService" to bind an action to an input. An example can be found if you run studio as a test the navigate to starterPlayer->StarterPlayerScripts->ControlScript->MasterControl->KeyboardMovement