I'm basically asking for a link (like ROBLOX wiki) about scripting for KeyDown (I think this is what it's called? I really have little to no knowledge to the mouse and keyboard things)
Here are some examples I'm trying to figure out:
Basically How to even do it
How to make something happen, say you press Q without a tool/hopperbin equipped/selected.
How to do it with a tool/hopperbin
I'm not expecting a script or someone to teach me via answer, just a link so I can get started. I have little to no knowledge of this, so anything helps.
Using KeyDown events without having a HopperBin equipped: http://wiki.roblox.com/index.php?title=API:Class/Player/GetMouse
-Edit- An example of using this to access keys would be:
local mouse = game.Players.LocalPlayer:GetMouse() mouse.KeyDown:connect(function(key) end)