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

Help with GUI??

I'm looking to create a shortcut to opening my game's PDA GUI. The shortcut will be the press of the key, "u"???

I would greatly appreciate it if someone would help me out with this...

Please provide where to put all these things. (make it so it will be in workspace if can)

Thanks for the help!

2 answers

You can use the GetMouse function. Then use the KeyDown or KeyUp event of the mouse Check if the argument is u.

Clone the gui into their PlayerGui(If they don't have it yet) Using the clone method.

I have this but I don't know how to make a ScreenGui to come up and where to put this script.

local Player = Game.Players.LocalPlayer; local mouse = Player:GetMouse();

Mouse.KeyDown:connect(function(Key) if (Key:lower() == "u") then

end

end

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