Detect player's movement input serverside

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to detect the player’s movement input from the server side, while the character model is in ReplicatedStorage

  2. What is the issue? I can use UserInputService and remotes to send the input from local side to server, but if the player spams it, it will lag the whole server and cause bugs

  3. What solutions have you tried so far? I tried using the character’s humanoid’s Running signal, but it does not work if the character is in ReplicatedStorage

In conclusion, I am trying to get player’s movement input on the server while the character model is in the ReplicatedStorage (or ServerStorage) without using RemoteEvents.

Thank you for reading.

1 Like

I don’t really know why you would need this but i’d use an unreliable remote event since they aren’t as laggy

1 Like

I don’t know if you specifically need the user input properties or just the movement of character,

IF YOU DONT NEED USER INPUT BUT WANT TO SEE MOVEMENT:
you can detect movement on the server by looking at the horizontal velocity of the player.

IF YOU NEED USER INPUT:
Sending a remote best case unreliable or sending pure bytes of input rather then full packets through remoting!

1 Like

Player’s movement, or input, any which that is faster and precise.

How unreliable is it? How often does it fails?

Then look at the horizontal velocity or vertical of the character on the server

It doesn’t fail that often (read the documentation page i sent it explains when it fails) but if you need really precise input there are better ways than handling it on the server

Thanks king, but i will still leave this post open just incase someone got an even better suggestion.