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)
Method Property | Fluent Description | Representation |
name accepts | a String | |
Return Value | a Keybind | |
overload 2:
keybinds:newKeybind(name, key)
Method Property | Fluent Description | Representation |
name accepts | a String | |
key accepts | a String | |
Return Value | a Keybind | |
overload 3:
keybinds:newKeybind(name, key, gui)
Method Property | Fluent Description | Representation |
name accepts | a String | |
key accepts | a String | |
gui accepts | a Boolean | |
Return Value | a Keybind | |