Example:If Key:"q" Does something.How do you do that please Help!
the script would look like this
mouse = game.Players.LocalPlayer:GetMouse() function onKeyDown(key) if key == "r" then --code goes here end mouse.KeyDown:connect(onKeyDown)
I usually use this:
game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key) if string.lower(key) == "q" then --do stuff end end)
You need to put it in a local script.