Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Is there a better way to get the keyboard input from a player than using remote events?

Asked by 5 years ago

I will not include any code as it is not neccesary for my question

As you guys probably know, userinputservice is only clientside wich means for a server to access it, you need remote events.

But a lot of remote events signals shouldn't be the best way to get the input. Is there any other way to do this?

1 answer

Log in to vote
0
Answered by
Avigant 2374 Moderation Voter Community Moderator
5 years ago

Generally speaking there's no reason the server needs to be informed of every single keystroke a client makes, as you can just perform the actions client-side. Yes, remotes would be the way for you to go if you really did want to send keystrokes to the server, but you should consider rethinking your approach to networking.

0
The problem is, I need to use it server side, so there's no better way? User#20388 0 — 5y
0
No. Avigant 2374 — 5y
0
rip, I'll accept your answer then User#20388 0 — 5y
0
Why do you need to use it server side? awesomeipod 607 — 5y
0
awesomeipod --> Not really important but it's for a sort of verhicle User#20388 0 — 5y
Ad

Answer this question