I was using UserInputService.InputBegan, but when I pressed 5 keys on the keyboard at the same time, it stopped working. Can I increase the number of inputs at the same time?
Can you show the code you are having issues with? That normally should not be a problem.
This is just a test:
local plr = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local i = 0
UIS.InputBegan:Connect(function(input, processed)
if input.UserInputType == Enum.UserInputType.Keyboard then
i += 1
print(i)
end
end)
UIS.InputEnded:Connect(function(input, processed)
if input.UserInputType == Enum.UserInputType.Keyboard then
i = 0
end
end)
It works for me
1 Like
It prints the number of inputs on screen in the moment, but stops counting at 5
It counted past five for me. Its probably an issue with your keyboard.
Try more than 6 pls, maybe the problem is just with me
Nope just you
Thanks, maybe it’s my keyboard, or something else