UIS Detection inside of textbox? (plugin)

Hello!

I’m trying to use :GetKeysPressed() to detect if a key combo is pressed. I use this to open up my plugin window. I’m making a system that auto-fills upon pressing tab, but UIS doesn’t notice my keystroke while focused on the textbox.

Any ideas on how to get around this?

Thanks.

Can you show a snippet which it doesn’t work with? It should be passed to UIS, just with gameProcessedEvent as true.

4 Likes

Okay, so I’m attempting to revisit this because I need extra keystrokes to register.

local function inTextBoxFunctions(key, GPE)
    if GPE then
	     print 'gpe'
    else
	    print 'no gpe'
    end
end

UIS.InputEnded:Connect(inTextBoxFunctions)

I’ve tried inputBegan as well. I get no response when typing in a textbox.

Example:

I’ve found that this works in a local script when playing the game. It doesn’t seem to work with plugins in real-time.

EDIT:

No possible way to do this… yet?

1 Like