How to bind player movements to other keys?

I know there is a thing called ‘DevComputer’ something that allows you to disable the movements and make it ‘Scriptable’. But however, there’s no example/ tutorial on how to bind those movements after making it Scriptable.
I want some examples like press the control key to jump.

1 Like

I would go about this with using the MoveTo command in humanoid and use userinput service

It would take a lot of resources just to move like that.

1 Like

I am just going off the top of my head right now there are most likely better ways to accomplish this
Why do you want to do this anyways

It would be inhuman to use the ‘Z’ (key I’m using to let them run) and using spacebar to jump while walking around with WASD. It cant utilize two hands

You could fork the PlayerModule and rebind the keys in the Keyboard module. You’ll mainly looking for the ones as highlighted below, which are what Roblox uses to bind keys to movement.

https://github.com/CloneTrooper1019/Roblox-Client-Tracker/blob/roblox/scripts/PlayerScripts/StarterPlayerScripts_NewStructure/PlayerModule.module/ControlModule/Keyboard.lua#L135-L152

10 Likes

A helpful article.

2 Likes

now its only for camera lol it redirects you