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 4 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 — 4y
0
? R0BL0XIANG0D -34 — 4y

1 answer

Log in to vote
1
Answered by
Pupppy44 671 Moderation Voter
4 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