Tittle says it all. Here's the script i'm have trouble with:
game:GetService("UserInputService").InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.R and input.KeyCode == Enum.KeyCode.F then
print("Started")
end
end)
game:GetService("UserInputService").InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.R and input.KeyCode == Enum.KeyCode.F then
print("Ended")
end
end)
Can someone explain why don't it work with 2 keycodes, but only with one?

3 comments
NOTHING CAME UP ):
Two inputs can't fire one event
What exactly are you trying to do?