How do I create custom player movement?

I’ve been trying to make custom character movement for about an hour now and didn’t succeed. I basically just want to move the player like 5 studs to the left if clicked on ‘A’ and 5 studs to the right if clicked on ‘D’. A link to a page for the info or a script with explanation would be much appreciated!

1 Like

What you could do is you could disable the player’s controls and then use Humanoid:MoveTo() based on UserInputService

https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo

3 Likes