KeybindAPI.newKeybind

Creates and returns a new Keybind
The name is used in the keybind menu
The key parameter is an identifier for a key,
such as "key.keyboard.r"
The boolean gui indicates whether the keybind should always work,
or if it should only work when you don't have a screen open
Check the docs enum command for all key names
overload 1:
keybinds:newKeybind(name, key)
typings.568216823
Method Property Fluent Description Representation
name accepts a String
key accepts
Return Value a Keybind
overload 2:
keybinds:newKeybind(name, key, gui)
typings.568216823
Method Property Fluent Description Representation
name accepts a String
key accepts
gui accepts a Boolean
Return Value a Keybind
a a