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?
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)