Certain inputs can cause InputBegan to trigger multiple times for the same input while testing in studio (F5, F6 and F7) such as LeftShift, RightShift, LeftCtrl and RightCtrl. This has only very recently been an issue and it still functions as normal (1 input = 1 trigger) when testing online.
Repo - Local Script Inside PlayerScripts;
game:GetService(“UserInputService”).InputBegan:Connect(function(Input, ProcessedEvent)
print(Input.KeyCode,ProcessedEvent,math.floor(tick()*100+0.5)/100)
end)
Studio Output;
Live-game Console;