Hi guys, I checked the wiki and it didn't give me much detail.. I want a Gui to pop up when the M key is pressed.
This is what I tried but to me it didn't make sense.
game:GetService("UserInputService"):IsKeyDown(109):connect(function()
game.Players.LocalPlayer.PlayerGui.MenuGui.Frame.Visible = true
end)
Could someone please tell me
- If that code would work
- How to use :IsKeyDown() properly please?
Many Thanks, Fahmi

1 comment
You could answer point 1 by trying it yourself?