Good way to structure a combat system

Hey! So I have be programming for a while on the platform and I understand how to code and everything pretty well, one thing I am trying to get better at is making good frameworks. I am currently getting ready to make a combat system but I am not sure how to make a good framework to do so. My original frame work was as follows:

Input → Client Module – > Server and client replication.

It is not like it did not work but I don’t feel like it was the best way. I want to be optimized in the way I program this system because I am going to scale it up and stuff. It just felt like the client module basically had no point because there was not much for me to do on there other than just play animations because you need to replicate VFX to all clients so people can see them. Anyway, a simple framework idea is all I am looking for. Thanks!