frriend
(frriend)
October 13, 2020, 12:33am
#1
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.
rogchamp
(pasta)
October 13, 2020, 1:27pm
#2
Can you show a snippet which it doesn’t work with? It should be passed to UIS, just with gameProcessedEvent as true.
4 Likes
frriend
(frriend)
October 14, 2020, 5:40am
#4
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:
frriend
(frriend)
October 14, 2020, 6:07am
#5
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?
Hi Community! Well, I’m working on a plugin right now and I really need that I can see when the developer presses the arrow-down and arrow-up button. The problem is that the ContextActionService and UserInputService don’t work on RobloxStudio, so or you are in-game, or it just doesn’t work. This is pretty iritant, so I used the Mouse.KeyDown event to see when the developer presses either button. That works too…, most of the time. This only works if you use the mouse while it is in the camera vie…
1 Like