I'm trying to detect whenever a player presses a key for this game, but I want it to be on a server script. Is there an easier way to do it rather than getting a whole bunch of remote functions?
✓ ANSWER ACCEPTED
Is there an easier way to detect which key the player has pressed on a server script?
1 answer
✓ Accepted answer
Other than some special use of a BaseValue, no. It's more efficient to use remotes anyway. There is no way for the server to directly read client input, it just doesn't make sense. What I would do is fire a RemoteEvent everytime the client's keyboard input changes (to avoid getting ratelimited)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Okay thanks