I am trying to make a command bar so you can type commands and run stuff even though you are not the owners. I already got the tween function down but I wanna know how to do the key bind. I used this code
game:service'UserInputService'.InputBegan:connect(function(inputObject, gameProcessedEvent)
if (inputObject.KeyCode=='W') then
print'Hi.';
end;
end);

1 comment
Nevermind, just realised this was answerd