Does anyone know how to make it so when you press a button (not shift), a ScreenGui becomes visible? I would love some constructive feedback.
You can use UserInputService
or KeyDown
/KeyUp
for getting keyboard input.
Localscript:
Game:GetService("UserInputService").InputBegan:connect(function(input) if input.KeyCode == Enum.KeyCode.KEY then local Gui = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame Gui.Visible = true --[[Or use Gui.Visible = not Gui.Visible for toggling visibility]] end end)