how do i give the effect that the combat system is smoother to hide the delay (which is at least 100 ms no matter how much optimization i do) every time you want to use a move.
i can’t move the moves to the client side because the client would never know when they’re actually allowed to use those moves, they could be stunned which are values stored on the server
for checking if a player is stunned you can manipulate values or remote events/functions
(but why would you need to check if a player is stunned without communication or delay ??? that’s very difficult to do)
if the server is in the process or in the middle of firing the client to tell it that it can’t use moves and the same client presses that button then it will activate when its not supposed to and nothing will happen on the server but it will show that client that something happened