How can I replicate user's movement to another NPC

So I want to make it when you sit down then your character’s camera will be put into a custom made NPC where while you are seated in will replicate everything you press like: Hold W → NPC walks forward until released

I have never done this and its probably possible I just dont know how

If you’ve got moving the humanoid covered, all you need to do is give the client network ownership of their NPC. You would need a RemoteEvent to change the network owner on the server, as it can only be changed on the server.


Refer to the Developer Hub article about Network Ownership
For moving the humanoid, you should use Humanoid:Move

I still only have the NPC meaning that it doesn’t move and im trying to replicate what to do for the NPC from what keys you press