Antwort
game:GetService("UserInputService").InputBegan:connect(function(input,chatting)
if not chatting and input.KeyCode == Enum.KeyCode.A then
--code
end