Scrpit keybind to command

Hey i wanna change a scrpit that has a keybind function that i can use a command

How can i make this🙃

Look for RegisterKeyMapping and the first parameter it’s the command and the last it’s the keybind and from this link you can choose the key. If u want to change it for all the players just change the RegisterCommand and the command from the key mapping, or just change the key but they need to clear cache to be affected.

okay thx i will try it