Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a Keybind pressed gui open?

Asked by 3 years ago

Basically, if a Player Presses a Letter on the Keyboard.. a GUI Pops up for the Player..

Please Reply if you Know! Thanks!

0
scripting helpers is not a request site tonio5024 -5 — 3y
0
? R0BL0XIANG0D -34 — 3y

1 answer

Log in to vote
1
Answered by
Pupppy44 671 Moderation Voter
3 years ago

Use UserInputService

game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.A then -- you can change the keycode
-- your code
end
end)
Ad

Answer this question