diff --git a/MainModule/Client/Core/Functions.luau b/MainModule/Client/Core/Functions.luau index f1d8840299..cfdd6038a0 100644 --- a/MainModule/Client/Core/Functions.luau +++ b/MainModule/Client/Core/Functions.luau @@ -1279,11 +1279,11 @@ return function(Vargs, GetEnv) Variables.KeyBinds = keybinds or data and data.Keybinds or {} - service.UserInputService.InputBegan:Connect(function(input) + service.UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) + if gameProcessedEvent then return end local key = tostring(input.KeyCode.Value) - local textbox = service.UserInputService:GetFocusedTextBox() - if Variables.KeybindsEnabled and not (textbox) and key and Variables.KeyBinds[key] and not Variables.WaitingForBind then + if Variables.KeybindsEnabled and key and Variables.KeyBinds[key] and not Variables.WaitingForBind then local isAdmin = Remote.Get("CheckAdmin") if time() - timer > 5 or isAdmin then Remote.Send('ProcessCommand',Variables.KeyBinds[key],false,true) diff --git a/MainModule/Shared/Changelog.luau b/MainModule/Shared/Changelog.luau index 892348b6df..a1018c423d 100644 --- a/MainModule/Shared/Changelog.luau +++ b/MainModule/Shared/Changelog.luau @@ -3,6 +3,9 @@ return { "*Drag edges to expand*"; "*Report bugs/issues on our GitHub repository*"; ""; + "[Patch v272.1 2025-09-26 21:38 UTC] @Dimenpsyonal"; + "Make the InputBegan KeyBindListener check for gameProcessedEvent (#1988)"; + ""; "[v272 2025-09-18 13:06 UTC] @Dimenpsyonal"; "(Git/fxeP1) Respect gameProcessedEvent for Console (#1984)"; "(Git/xs4u) Update ;dexnew to not allow deleting players who have a higher rank than you (#1978)";