isKeyDown() utilizes RunService's IsKeyDown() method, which doesn't take into account processed keys. In other words, if a key was used in a TextBox (e.g. chat), then this method would still return true while those keys are being typed.
Ideally, isKeyDown() should only return true for keys that have been pressed and not processed.
isKeyDown()
utilizes RunService'sIsKeyDown()
method, which doesn't take into account processed keys. In other words, if a key was used in a TextBox (e.g. chat), then this method would still returntrue
while those keys are being typed.Ideally,
isKeyDown()
should only returntrue
for keys that have been pressed and not processed.