Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i open my gui with Left Shift?

ive been trying to make and find one for 3 days cant find any that work

1 answer

Next time lets be a bit more descriptive, but I think I know what you are talking about.

Gui = game:GetService(“ScreenGUI”)

game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
    if inputObject.KeyCode == Enum.KeyCode.LShift then --Also, could be written as [[inputObject.KeyCode == "LShift"]]
        print("LShift was pressed")  -- I do not know if it is truly LShift but if you do go to Enum.KeyCode.LShift and type in “L” you should be able to see something about a left shift
	Gui.”YourGuiNameHere”.Frame.Visable = true -- Make sure that your GUI name does not have a space in the name
    end 
end)

Hope this works! If it doesnt let me know please,

			Have a good day, HissingSoldier

This discussion is preserved as it was. New answers, comments, and votes are closed.