How to make my controls save when a user changes them?

I wanna find a way to make my controls save when the player changes them. Because it’s been annoying having to change the binds back once the player joins the game again. Is there any way to do this?

if you mean saving them when leaving and loading them back up when join then u could use DataStore to save a Table with keybinds and loading those