Move-Based Fighting Game need help for efficiency

I want to have a system where if a player presses a key, a move dedicated to their stand, or character style will play. I also want to make sure that they will be able to change the keybinds. The problem is, I do not know the best way to do this. I’m wondering if I should have it so that when the player presses the key with a local script, it will fire a server in which checks the character’s keybindings and style, and binds to another server script dedicated to that stands moves, while also sending which move to play. I’m just wondering if having a server script for each and every character style will be fine, and if there’s a better way of doing this, like with module scripts (I don’t know how they work).

(Would look something like this)

Don’t add layers of events willy nilly, there are ordering consequences and it can be much harder to debug. I would recommend checking keybinds on the client, since the GUI to change them will have to be there anyway. The only thing that should get sent from the client to the server is what move they inputted. That also means combos where you need to hit multiple inputs be done on the client and one message sent to the server once the combo is fully input.

Put the moves in a module script since both the server and client will need to know the current character being played.