I am currently developing a chat system, but I have run into an issue. By default, KeyDown and KeyUp and other input detection methods are blocked while a user is typing in a textbox. This is a problem because I need to be able to send the chat by pressing the "Enter" key. Anyway, is there any way around this problem? Thanks!
very simple, use userinputservice and ignore the game proccessed event.
like this:
local uis = game:GetService("UserInputService") uis.InputBegan:connect(function(key, gpe) if key.KeyCode == Enum.KeyCode.Return then print("ok") end end)