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

Can you make it so you can control characters with different keys?

Asked by 7 years ago

Such as instead of using WASD you could use, say. UHJK?

A link to a wiki page would be helpful.

1 answer

Log in to vote
-1
Answered by
ferano 0
7 years ago

I do not have a link to a wiki, however you basically would need to reasign wasd or assign them to do nothing, and then you would need to reasign the new movement keys using something like this:

table.insert(connections, mouse.KeyDown:connect(function(ky)
    local key = string.lower(ky)
    if key == "f" then

As well, you can do much more with this, such as anything involving the pressing of a key.

Thank you.

Ad

Answer this question